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

Why do we need to {replace: true}? #188

Open
0xferit opened this issue Jun 12, 2023 · 0 comments
Open

Why do we need to {replace: true}? #188

0xferit opened this issue Jun 12, 2023 · 0 comments
Labels
type: question Further information is requested

Comments

@0xferit
Copy link
Member

0xferit commented Jun 12, 2023

if (newPath !== location.pathname) {
navigate(newPath, { replace: true });
}

@0xferit 0xferit added the type: question Further information is requested label Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Further information is requested
Projects
Status: No status
Development

No branches or pull requests

1 participant