The approach we will take in converting our app to Redux will involve multiple steps:
- First, we should begin by scaffolding a Redux project by creating a store, wrapping the AppContainer around a Provider, and creating some basic actions and reducers to handle very basic functionality--we can worry about persistent storage later.
- Then, we will begin converting the TasksList component to Redux by creating a TasksListContainer and mapping our actions and state tree to the TasksList component. Any other components from when we built Tasks in Chapter 1, First Project - Creating a Basic To-Do List App, and Chapter 2, Advanced Functionality and Styling the To-Do List App, will remain untouched for the time being. ...