August 2017
Beginner
374 pages
10h 41m
English
For our new history object, we will need a new undo/redo algorithm. It should be generic that is work on all data types T with the following state structure:
{ past: Array<T>, present: T, future: Array<T>}
There will be three cases that our higher-order reducer needs to handle:
Read now
Unlock full access