State Management in Pure React, v2 Redo Reducer Exercise
This course has been updated! We now recommend you take the React Performance course.
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.