From the course: Building Modern Projects with React

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Running a React-Redux application

Running a React-Redux application

From the course: Building Modern Projects with React

Start my 1-month free trial

Running a React-Redux application

- [Presenter] Now that we've seen the basics of how to connect components to the Redux store, there's one more important component that we need to do this with right now. And that's the ToDoList component. As it stands right now, we can create new to do items with our connected NewToDoForm component, but those changes won't actually be reflected in our to do list since it's not yet connected to the store. And while we're at it, we still have to make the remove and completed buttons in our ToDoList item component do something. In this video, we're going to take care of the remove button and then making the completed button work will be a challenge and solution video so stay tuned for that. Okay, so let's connect our TodoList to the Redux store. The flow for this is going to be very similar to what we did for the NewTodoForm. We're going to start off by importing connect. So up here, we'll say import, connect from…

Contents