v2.0.0-alpha.1
Pre-release
Pre-release
supasate
released this
23 Dec 17:27
·
454 commits
to master
since this release
Bug Fix
Breaking change
- Use
connectRouter(history)(rootReducer)
instead of manual mountingrouterReducer
.
Migration guide from v1.0.0-alpha.x
- Remove
router: routerReducer
fromcombineReducers
function in your root reducer file. - In
createStore
function, change the first argument from yourrootReducer
toconnectRouter(history)(rootReducer)
and importconnectRouter
fromconnect-react-router
See Usage for more details.