Back to Browse

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

595 views
Jul 9, 2021
30:43

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 - https://youtu.be/la_5sRJSdEQ Redux DevTools - Chrome Extension for Redux - https://youtu.be/la_5sRJSdEQ Redux Reducer Rules and Immutability - https://youtu.be/DHoxmQ7Lg1w React Redux Sample App1 - https://youtu.be/_QO7SBRZoEY Redux and React playlist - https://www.youtube.com/playlist?list=PLC8jf7P7lriyC4FbnJ3Jgf8dcnR0ss703 Complete React Lessons and ReactJS playlist - https://www.youtube.com/playlist?list=PLC8jf7P7lrixhadKw5_hc0jjaPPMroUyC 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.

Download

1 formats

Video Formats

360pmp444.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

React JS Tutorial - Redux and React - Immutable Lesson#17c - Redux Reducer Rules and Immutability | NatokHD