developing-a-redux-edge icon indicating copy to clipboard operation
developing-a-redux-edge copied to clipboard

Chapter 2 error in implementation of connect

Open sthaha opened this issue 9 years ago • 1 comments

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.

sthaha avatar Oct 24 '16 15:10 sthaha

@dariocravero I think you probably know best how to deal with this :)

arturmuller avatar Oct 25 '16 11:10 arturmuller