August 2017
Beginner
374 pages
10h 41m
English
Start the application using npm start and open http://localhost:8080 in your browser; it should work the same way as it did before, but now we are using the generic redux-undo library.
If you want to see what's going on in the background, enable debug mode by passing the option to undoable.
Edit src/reducers/index.js and pass an option object as the second argument of undoable with the debug property set to true:
const appReducer = combineReducers({ counter: undoable(counterReducer, { debug: true }),})
Now, every time an action happens, redux-undo will print some information about it in the console:

Read now
Unlock full access