From the course: Building UI Components with Storybook: Master React Components and UI Design with Storybook for Better Efficiency

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Summary of Redux code and mock data from previous section

Summary of Redux code and mock data from previous section

this section comes with a starter code so if you haven't been coding along up to this point or you're jumping in right now and you're an experienced developer then you can go ahead and download the starter code and code along from here if you'd like that's totally up to you or or if you've been moving with us from section to section then we're just continuing right where we left off in the last section where we developed our task list component which involved also bringing in a store. So we looked at what it means to create a store in Redux, all the basics with slice and RTK, writing up a reducer, exporting out our actions in which we set up basically a new task state and then update the specific task which we check in our index because we have a bunch of different tasks right in this array of objects and we target the specific one in our iteration by ID and and make the update to when we want to change. And those changes now work, right? We saw, we can see now that it works in our…

Contents