Skip to content
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

Navigate replace without generate new location.key #968

Open
vanntrong opened this issue Aug 9, 2023 · 0 comments
Open

Navigate replace without generate new location.key #968

vanntrong opened this issue Aug 9, 2023 · 0 comments

Comments

@vanntrong
Copy link

Hello, I used React and React router dom in my app, in some pages I used navigate function from useNavigate with replace, but when I use this it always generates a new key for the same URL. How can I avoid this behavior? I want to navigate but it doesn't generate a new location.key

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

No branches or pull requests

1 participant