تقييمات الطلاب
( 5 من 5 )
١ تقييمات
فيديو شرح Multiple Reducers with Redux Reducers - Redux React Tutorial #4 ضمن كورس React JS شرح قناة LearnCode.academy، الفديو رقم 18 مجانى معتمد اونلاين
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! https://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.
-~-~~-~~~-~~-~-
Also watch: "Tailwind CSS - why CSS utility classes save so much time"
https://www.youtube.com/watch?voU5ar0dmQEY
-~-~~-~~~-~~-~------