filmov
tv
React JS Tutorial - Redux and React - Immutable Lesson#17c - Redux Reducer Rules and Immutability

Показать описание
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"
Complete React Lessons and ReactJS playlist -
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.
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"
Complete React Lessons and ReactJS playlist -
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.
Redux in 100 Seconds
Redux - Complete Tutorial (with Redux Toolkit)
Redux Tutorial - Learn Redux from Scratch
ReactJS / Redux Tutorial - #2 What is Redux? Why use it?
React Redux Tutorial in Tamil
React Redux Tutorial in Telugu - 49 - Redux For Beginners in Telugu
Learn React 18 with Redux Toolkit – Full Tutorial for Beginners
Redux Tutorial - Beginner to Advanced
🍔🍔 MERN Stack Recipe App Tutorial Part 1 || Full MERN Stack Recipe App|| #react #nodejs #mernstack...
React Redux Tutorial | Learn Redux from Scratch
React Redux Full Course for Beginners | Redux Toolkit Complete Tutorial
Redux toolkit crash course | Chai aur React Series
Learn Redux Toolkit in under 1 hour
Learn Redux Toolkit in 1 Video
Learn Redux in One video | Sigma Web Development Course - Tutorial #120
Redux Tutorial (with Redux Toolkit)
React Redux Toolkit Tutorial for Beginners | Learn Modern Redux
React Redux Tutorial For Beginners | Redux Toolkit Tutorial 2021
React Redux Tutorial #1: Why, When, and How to Use Redux in React
Redux Toolkit - Complete Tutorial ( with Project ) 🔥🔥
Understanding Redux Concept in 5 Minutes | What is Redux ? | Redux Analogy | Redux Lifecycle
Introduction to Redux | Complete React Course in Hindi #73
Learn Redux Toolkit in 1 video with Project | React Redux Toolkit |Redux Toolkit Tutorial
🔴 Complete Redux Tutorial in Hindi | React Redux in 2021
Комментарии