-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Use history.createLocation for converting location descriptors to locations #2859
Comments
|
Huh, the naive |
I just followed ^2.0.0-rc upgrade guide documentation, using My code looks like this..
Is this a bug? how can I solve this? |
See #2897. |
@taion thanks for the answer, but i get this infinite redirection error, Never mind! It was my problem, I had to move |
Closing this to track #2910 instead. |
transitionManager.isActive
:This logic is wrong and should go through
history.createLocation
: https://github.com/rackt/react-router/blob/3494ed3974020b42c9af9490d681877829f3e9e1/modules/createTransitionManager.js#L37-L39match
:Should be using
history.createLocation
in all cases: https://github.com/rackt/react-router/blob/3494ed3974020b42c9af9490d681877829f3e9e1/modules/match.js#L30-L31Blocked on remix-run/history#200.
The text was updated successfully, but these errors were encountered: