The [`handleLocationChange` function](https://github.com/supasate/connected-react-router/blob/c09873dba0cd9cef9dc46a6cbdbaab96c6725b94/src/ConnectedRouter.js#L70) is [called as the listener](https://github.com/supasate/connected-react-router/blob/c09873dba0cd9cef9dc46a6cbdbaab96c6725b94/src/ConnectedRouter.js#L80) to `history.listen`. In version 5 of `history`, it has the signature of `(location, action, isFirstRendering)`, while a [`history`'s listener function has a signature](https://github.com/remix-run/history/blob/3e9dab413f4eda8d6bce565388c5ddb7aeff9f7e/docs/api-reference.md#historylistenlistener-listener) of `({action, location})`. This results in a state of shape `{location:{location}}` (nested) after the `@@router/LOCATION_CHANGE` action is called. Fix is to use version 4 of the `history` package.