Skip to content

Commit c220fd1

Browse files
authored
Update createStore URL in README.md (#715)
new createStrore URL is https://redux.js.org/api/createstore#createstorereducer-preloadedstate-enhancer
1 parent 94f7e53 commit c220fd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@
3232
## 1. With Redux
3333
### 1.1 Basic store
3434

35-
For a basic [Redux store](http://redux.js.org/docs/api/createStore.html) simply add:
35+
For a basic [Redux store](https://redux.js.org/api/createstore#createstorereducer-preloadedstate-enhancer) simply add:
3636
```diff
3737
const store = createStore(
3838
reducer, /* preloadedState, */
3939
+ window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
4040
);
4141
```
4242

43-
Note that [`preloadedState`](http://redux.js.org/docs/api/createStore.html) argument is optional in Redux's [`createStore`](http://redux.js.org/docs/api/createStore.html).
43+
Note that [`preloadedState`](https://redux.js.org/api/createstore#createstorereducer-preloadedstate-enhancer) argument is optional in Redux's [`createStore`](https://redux.js.org/api/createstore#createstorereducer-preloadedstate-enhancer).
4444

4545
> For universal ("isomorphic") apps, prefix it with `typeof window !== 'undefined' &&`.
4646
```js

0 commit comments

Comments
 (0)