-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
[Bug]: MemoryRouter looses state of initial entries in v6.4.0 #9265
Comments
This breaks Jest tests basically, where we use |
Am I the only one blocked by this? Remix team, do you think this is something that can be fixed by someone that has never contributed to react-router? :) |
We are experiencing the same issue where we use the memory router with some initial state within our cypress component tests. |
Thanks for the bug report and reproduction! Pushed a fix for this in #9288 and we should be able to get a patch out early this week 👍 |
@brophdawg11 Is a release still planned this week? |
Thx for the release! |
👍 let us know if you run into any issues in 6.4.1! |
What version of React Router are you using?
6.4.0
Steps to Reproduce
See the Sandbox at https://codesandbox.io/s/react-router-issue-9265-p8nx49 and simply downgrade
react-router-dom
to v6.3.0 to see the state value being rendered.Expected Behavior
MemoryRouter does not loose state of initial entries.
Actual Behavior
MemoryRouter looses state of initial entries.
The text was updated successfully, but these errors were encountered: