Redux Reducers and Immutable Updates - Redux Reducer Rules and Immutability - React JS Tutorial - Redux and React - Immutable and Pure functions
For immutable updates, reducer functions create a copy of the state and modify it . Four reducer patterns discussed in the video
Update a JSON
Insert an element in array
Delete an element in array
Update an element in array.
Reducer Rules
1. They should only calculate the new state value based on the state and action arguments
2. They are not allowed to modify the existing state. Instead, they must make immutable updates, by copying the existing state and making changes to the copied values.
3. They must not do any asynchronous logic or other "side effects"
Introduction to React Redux for State Management - • React JS Tutorial - Redux and React Lesson...
Redux DevTools - Chrome Extension for Redux - • React JS Tutorial - Redux and React Lesson...
Redux Reducer Rules and Immutability - • React JS Tutorial - Redux and React - Immu...
React Redux Sample App1 - • React JS Tutorial - Redux and React - Less...
Redux and React playlist - • Redux and React
Complete React Lessons and ReactJS playlist -
• React Tutorials - Complete React JS - From...
Learn complete React in this video tutorial series. A must watch for all ReactJS beginners and learners. With lots of samples, code, practice questions and projects, learn and master React and become an awesome front end developer.