Skip to content

v2.0.0

Compare
Choose a tag to compare
@erikras erikras released this 26 Jan 17:20
· 46 commits to master since this release

Breaking Changes

v1.0.x

mapStateToProps() took the reducer's state as its only parameter.

v2.x

mapStateToProps() takes the reducer's key, the entire state, and an optional ownProps parameter, much like react-redux's connect() function.

For more details, see PR #103 and the README.

This is how the react-redux-universal-hot-example was migrated.