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 was archived by the owner on Oct 26, 2018. It is now read-only.
I have wrapped my state in Immutable.js, so I am using selectLocationState in syncHistoryWithStore options as specified in docs. But I am facing a weird issue. On the initial app load, I redirect from / to /locations using IndexRedirect. When the app loads, it dispatches 2 actions, first to change location to /, and second to change it to /locations. The location in url-bar flickers to /locations for half a second, and then change back to /. window.history.state.key shows the id of / location, but the location in state.routing is /locations. Even when I try to history.back() or use browser navigation to go back, the location changes for half a second and then change to / again.
Same happens when I click on <Link>s.
Here is how I am creating history that is passed to <Router>: