This repository was archived by the owner on Oct 26, 2018. It is now read-only.
This repository was archived by the owner on Oct 26, 2018. It is now read-only.
Causes reactRouter onUpdate to be double invoked #108
Closed
Description
When redux-simple-router is setup and a path is updated through a Link or IndexLink from react router, the Router.onUpdate method is double invoked.
If pushPath or updatePath is used, the onUpdate behaves normally.
Here's a branch where it's happening for me
onUpdate handler:
https://github.com/tomatau/breko-hub/blob/versionUpdates/src/app/entry.js#L33
integration:
https://github.com/tomatau/breko-hub/blob/versionUpdates/src/app/state/store.js#L23
navigation:
https://github.com/tomatau/breko-hub/blob/versionUpdates/src/app/components/containers/HeadNavigation.js#L23
Metadata
Metadata
Assignees
Labels
No labels