Trying out undo/redo

Start the application using npm start and open http://localhost:8080 in your browser; you should see the following state:

After clicking on the + button three times, you should see the following state:

After clicking the undo button two times, you should see the following state:

After clicking the redo button once, you should see the following state:

When you try this out yourself, make sure that you open the console window ...

Get Learning Redux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.