Multiple Reducers with Redux Reducers 
Multiple Reducers with Redux Reducers
by LearnCode
Video Lecture 4 of 7
Not yet rated
Views: 495
Date Added: May 11, 2017

Lecture Description

Once your store is in place, you'll want to set up multiple Redux reducers to act on parts of your data store. Redux reducers are great in that they are only aware of part of your data, and the rest of the data is neither reachable nor able to be mutated by your reducer.

GET THE CODE! github.com/learncodeacademy/react-js-tutorials

Reducers are a great concept in Redux, because they allow your react application to have specific pieces of data that all update synchronously. All reducers run against your Redux store, and then the store triggers a change event and your entire React.js application re-renders.

The biggest thing to keep in mind with Redux reducers is you don't want to mutate your state. ALWAYS return a new state rather than mutating the old state values.

Course Index

Course Description


Comments

There are no comments. Be the first to post one.
  Post comment as a guest user.
Click to login or register:
Your name:
Your email:
(will not appear)
Your comment:
(max. 1000 characters)
Are you human? (Sorry)