-
Notifications
You must be signed in to change notification settings - Fork 593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken browser back button behavior #262
Comments
Similar behavior was described in #76, but this happens independently of |
+1 |
1 similar comment
+1 |
Is this going to be fixed? still an issue, even without time travel |
Is there a work around i can implement, until the PR is merged ? |
Well, I did fork this project and made
For the exact code change to the source see It's a long PR, but that's because most files are just the distribution |
Store updates from history.listen break browser back behavior, causing user to ping-pong between 2 routes.
Steps to reproduce:
/home
->/hello
->/counter
/counter
, clicks browser back and lands on/hello
/hello
clicks browser backExpected behavior: lands on
/home
Actual behavior: lands on
/counter
GIF Illustration:
Branch that reproduces issue is available here: https://github.com/kswin/connected-react-router/tree/poc/broken-browser-back
The text was updated successfully, but these errors were encountered: