This course has been updated! We now recommend you take the React Performance course.

Check out a free preview of the full State Management in Pure React, v2 course:
The "Redo Reducer Exercise" Lesson is part of the full, State Management in Pure React, v2 course featured in this preview video. Here's what you'd learn in this lesson:

The students are instructed to implement a redo reducer that will take the present state and transform it into the future state, and take the current state and make it into the past.

Get Unlimited Access Now

Transcript from the "Redo Reducer Exercise" Lesson

>> I implemented the ability to add stuff back to the past and shifted around. Your mission is to then do the opposite, right? When we have undone something we wanna take the current present and move it to the list of futures. And when we want to redo, we simply take the most recent future, make it the present.

[00:00:19] Take the present, and make it the most recent past again.