August 2017
Beginner
374 pages
10h 41m
English
All that's left to do is wrapping the counter reducer with our undoable higher-order reducer:
import undoable from '../undoable'
const appReducer = combineReducers({ counter: undoable(counterReducer),})
const mapStateToProps = (state, props) => { const { counter } = state return { count: counter && counter.present }}
Start the application using npm start and open http://localhost:8080 in your ...
Read now
Unlock full access