Basic Reducers
Explore how basic Redux reducers work to update and manage application state using pure functions. Learn to create reducers that handle actions for a recipe book app, and understand how reducers fit into the Redux data flow and store creation.
We'll cover the following...
We'll cover the following...
In Redux, reducers are the final stage in the unidirectional data flow. After an action is dispatched to the store and has passed through all the middleware, reducers receive it alongside the application’s current state. Then they create a new state that has been modified according to the ...