Getting back to the Refactoring Process

In order to refactor our React app, we will first create the reducer directory along with our first primitive reducer function. We must remember that the reducer always returns a new state of the app.

Let’s get back to refactoring the Hello World React application to use Redux.

If I lost you at any point in the previous section, please read the section just one more time and I’m sure it’ll sink. Better still, you can ask me a question.

Okay so here’s all the code we have at this point.

Get hands-on with 1200+ tech skills courses.