developing-a-redux-edge
developing-a-redux-edge copied to clipboard
Chapter 2 error in implementation of connect
The implementation of function connect(ComponentToConnect, mapState, actionsToDispatch)
is missing call to mapState e.g.
this.state = mapState(store.getState()) and store.subscribe needs to call mapState as well.
@dariocravero I think you probably know best how to deal with this :)