Skip to content

Conversation

@guidobouman
Copy link
Contributor

@guidobouman guidobouman commented Jun 5, 2021

Back ported this fix from v6 to v5: https://github.com/ReactTraining/react-router/blob/dev/packages/react-router-dom/index.tsx#L186-L189

To check:

  • Should the normalised location from the scope above (line 93) not be used?

Fixes: #5362

@guidobouman
Copy link
Contributor Author

Took me only two years to fix this personal TODO in ReactRouter, but I finally did it. =]

@guidobouman
Copy link
Contributor Author

@mjackson ?

@mjackson
Copy link
Member

Looks good to me, thanks @guidobouman. @chaance can we get this merged and released into the next 5.x release?

@chaance chaance merged commit 80b6ffa into remix-run:main Aug 27, 2021
@vladshcherbin
Copy link
Contributor

@guidobouman holy shit man, you did it! 🕺 4+ years tracking related issues and PRs and it's finally fixed 🎉 🥳 🍾

@guidobouman
Copy link
Contributor Author

Oh my god @vladshcherbin, we did it! 🥲

@guidobouman guidobouman deleted the patch-1 branch September 9, 2021 17:14
@chaance
Copy link
Collaborator

chaance commented Sep 9, 2021

Kamala Harris smiling on the phone, caption: "We did it. We did it, Joe."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use replace instead of push on <Link> click when location is the same

4 participants