From c220fd18d6fb4b0790a501ec4df0de52b5bee460 Mon Sep 17 00:00:00 2001 From: Pranjal Kushwaha Date: Thu, 20 Feb 2020 02:52:04 +0530 Subject: [PATCH] Update createStore URL in README.md (#715) new createStrore URL is https://redux.js.org/api/createstore#createstorereducer-preloadedstate-enhancer --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d586582d..35145dbb 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ ## 1. With Redux ### 1.1 Basic store -For a basic [Redux store](http://redux.js.org/docs/api/createStore.html) simply add: +For a basic [Redux store](https://redux.js.org/api/createstore#createstorereducer-preloadedstate-enhancer) simply add: ```diff const store = createStore( reducer, /* preloadedState, */ @@ -40,7 +40,7 @@ For a basic [Redux store](http://redux.js.org/docs/api/createStore.html) simply ); ``` -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). +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). > For universal ("isomorphic") apps, prefix it with `typeof window !== 'undefined' &&`. ```js