Releases: makeomatic/redux-connect
New React Context API
This is a breaking change, make sure to update your code. On a side note - moved redux-actions to peer dependencies, so take care of that, too!
Big thanks to @ioanlucut for the PR that made this possible :)
React Router v4
Finally supports v4 ;) Thanks to @aleksxor for making this possible
Layered Router Components
fix: bug with synchronous multi component asyncConnect. (#79)
BREAKING CHANGE: Changed the way in which components are flattened. Components are now layered in an array depending on the depth of the routing tree they are on.
- Tests: Added test case for multi layered async connect with ordering.
Immutable.js
BREAKING CHANGE:
redux-actions upgraded to 0.10.x, action types are now embedded into the action creators. This could potentially break your app if you relied
on actions used by redux-connect in your own reducers. Please use action creators directly as action names as they are embedded inside them. Read more on the
redux-actions repository.
Feat
Adds support for Immutable.JS, curtesy of @toddbluhm. Read more in the README updates
Small outline:
- Added ability to use immutable stores with this lib
- Added global methods for converting from mutable to immutable and back again
- Added special method for controlling when the ReduxAsyncConnect component re-syncs with the server
- Simplify the reducer portion to just wrap the original reducer
- Export the immutable reducer as a separate reducer
- Updated docs to reflect new immutable reducer export
v2.4.0
- feat: extended asyncConnect decorator
- chore: remove babel-runtime from dev deps
Now supports additional props, removing the need to use both connect
and asyncConnect
decorators. Decorator now has the following signature:
asyncConnect(AsyncProps: Array, mapStateToProps?, mapDispatchToProps?, mergeProps?, options?)