Built with Create React App.
- Pull down and use
- Ensure you have proper knowledge of How Redux Works irrespective of the approach you learnt
-
From the reducer/index.js
add the name of your reducer's key (which may have been combined) into the store.js whitelist
Example, if the key in the export was auth
export default combineReducers({ posts: postReducer, auth: authReducer });
add auth to the whitelist array as seen below
whitelist: ["auth"];
npm run start
npm run build
Enjoy...