You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.
Redux Toolkit is our official, opinionated, batteries-included toolset for efficient Redux development. It is intended to be the standard way to write Redux logic, and we strongly recommend that you use it.
Since Redux Toolkit is recommended so strongly, and it guides the user to use Redux in an idiomatic way, this React + Redux example app should use Redux Toolkit as well.
How to implement
One example of a change to use Redux Toolkit: src/store.js should replace its use of Redux’s createStore a call to Redux Toolkit’s configureStore. This will make calling composeWithDevTools in that file unnecessary, as configureStore does that automatically.
Redux Toolkit’s Advanced Tutorial provides guidance on migrating an existing Redux application to use Redux Toolkit.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Idea
Redux Toolkit is a library by the Redux team that is described within the official Redux docs:
Since Redux Toolkit is recommended so strongly, and it guides the user to use Redux in an idiomatic way, this React + Redux example app should use Redux Toolkit as well.
How to implement
One example of a change to use Redux Toolkit:
src/store.js
should replace its use of Redux’screateStore
a call to Redux Toolkit’sconfigureStore
. This will make callingcomposeWithDevTools
in that file unnecessary, asconfigureStore
does that automatically.Redux Toolkit’s Advanced Tutorial provides guidance on migrating an existing Redux application to use Redux Toolkit.
The text was updated successfully, but these errors were encountered: