Skip to content
This repository was archived by the owner on Oct 26, 2018. It is now read-only.

Location in Redux store not honored with 4.0.6 #462

Closed
chriswetterman opened this issue Sep 29, 2016 · 1 comment
Closed

Location in Redux store not honored with 4.0.6 #462

chriswetterman opened this issue Sep 29, 2016 · 1 comment

Comments

@chriswetterman
Copy link

I have an Electron app and now, with 4.0.6, the location change that is fired upon launch of the app has the pathname set as root ("/") instead of what the value currently is in the Redux store. This introduces unwanted behavior with the app now being unable to recall it's prior state. Rolling back to 4.0.5 fixes this issue. I can provide more detail as needed #445

@timdorr
Copy link
Member

timdorr commented Sep 30, 2016

Since you're using a memory history, make sure you initialize it with the correct path (e.g., createMemoryHistory('/foo'). I brought this up on the history repo, but it's not going to be fixed in the 2.x version. That's where the initial path comes from.

@timdorr timdorr closed this as completed Sep 30, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants