4 ms·
I hope this helps: dispatch(action) { this.setState(prevState => reducer(prevState, action)) }
by danabramov 10y ago
I hope this helps:
dispatch(action) {
this.setState(prevState => reducer(prevState, action))
}
- assertchris 10y agoHmmm, that'd be sweet in a mixin... ducks