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
Unfortunately, the Redux setup in this example project is not correct. It's still using the legacy Redux createStore API, using "hand-written" reducer logic with separate action constants, and following an outdated folder structure. Today we teach and recommend using "modern Redux" using our official Redux Toolkit package, the React-Redux hooks API, and a "feature folder" structure with a single "slice" file of Redux logic per feature.
Please see the "Redux Essentials" tutorial and the Redux Style Guide best practices page in our docs for our recommended approaches:
@markerikson Thanks for bringing this to my attention. The new setup seems far neater to use!
I have removed the old redux structure and added an example with redux-toolkit in #17.
Unfortunately, the Redux setup in this example project is not correct. It's still using the legacy Redux
createStore
API, using "hand-written" reducer logic with separate action constants, and following an outdated folder structure. Today we teach and recommend using "modern Redux" using our official Redux Toolkit package, the React-Redux hooks API, and a "feature folder" structure with a single "slice" file of Redux logic per feature.Please see the "Redux Essentials" tutorial and the Redux Style Guide best practices page in our docs for our recommended approaches:
The text was updated successfully, but these errors were encountered: