gajus / redux-immutable

redux-immutable is used to create an equivalent function of Redux combineReducers that works with Immutable.js state.
Other
1.88k stars 82 forks source link

Added documentation on using with react-router-redux v5 #71

Closed suzdalnitski closed 6 years ago

suzdalnitski commented 6 years ago

syncHistoryWithStore has been deprecated in v5. ConnectedRouter will make sure to keep the store in sync with history. It does this by listening to history, and dispatching LOCATION_CHANGE actions.

In version 5 the store is being accessed in two places only: routerReducer and createMatchSelector To get things working the only thing one has to update is the routerReducer.

Patching createMatchSelector is optional.

gajus commented 6 years ago

Thank you