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

Built-in URL hash functionality can conflict with SvelteKit's router #17

Open
ciscorn opened this issue Nov 20, 2024 · 0 comments
Open

Comments

@ciscorn
Copy link
Member

ciscorn commented Nov 20, 2024

The following warning is shown:

Avoid using history.pushState(...) and history.replaceState(...) as these will conflict with SvelteKit's router. Use the pushState and replaceState imports from $app/navigation instead.

@ciscorn ciscorn changed the title Built-in hash functionality is not compatible with SvelteKit's router Built-in URL hash functionality is not compatible with SvelteKit's router Nov 21, 2024
@ciscorn ciscorn changed the title Built-in URL hash functionality is not compatible with SvelteKit's router Built-in URL hash functionality can conflict with SvelteKit's router Nov 28, 2024
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