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.
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.