August 2017
Beginner
374 pages
10h 41m
English
Now that we know what our history object will look like, all that's left to do is creating the initial state:
const initialState = {} // TODO
Replace it with our new history object:
const initialState = { past: [], present: ..., // TODO future: []}
const initialState = { past: [], present: reducer(undefined, ...Read now
Unlock full access