DEV Community

Discussion on: WHAT THE REDUX

Collapse
 
phryneas profile image
Lenz Weber

Please note that this is generally a very outdated style of Redux that is great to understand how Redux works internally, but not how we recommend writing Redux nowadays.

In a production app, you should be using Redux Toolkit, which does not have switch..case reducers, ACTION_TYPEs, or immutable reducer logic. It also does not use combineReducers or createStore.

I would recommend following redux.js.org/tutorials/essentials/... to get up to speed with modern Redux.

Collapse
 
codejones profile image
Doug Jones

Thank You. I'm new to Redux so I appreciate the link. I will definitely check it out.