You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 17, 2019. It is now read-only.
So, this must be something to do with Fusion, or the way I set it up.
Could you think of any reason that could cause the action getting fired 4x on page load?
This plugin isn't super well supported right now. It was built as a proof of concept. I recommend keeping routing logic separate from the redux store and using the withRouter hoc to get access to routing related props.
Event
@@router/LOCATION_CHANGE
gets fired off 4x on page load. Looked around online and it seems like there's nothing mentioning this issue.Type of issue
Bug?
Description
@@router/LOCATION_CHANGE
action should get fired once on page load.Current behavior
@@router/LOCATION_CHANGE
action gets fired 4x on page load.They all have the same exact payload.
Expected behavior
There should only be one
@@router/LOCATION_CHANGE
Steps to reproduce
Your environment
fusion-plugin-connected-react-router version: 1.1.1
Node.js version (
node --version
): 8.11.3npm version (
npm --version
): 5.6.0Operating System: macOS Mojave 10.14.3
The text was updated successfully, but these errors were encountered: