You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using query string in SvelteKit I get this error:
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.
The text was updated successfully, but these errors were encountered:
It is not that simple like this. At least there should be tests and documentation. And I don't know, how to test library with SvelteKit, maybe there should be tests with some empty application build. Import from '$app/navigation' works fine inside your SvelteKit application, but I have doubts that it will work inside a library. Builders and packagers usually have different rules for your application code and code from library from node_modules folder.
When using query string in SvelteKit I get this error:
Avoid using
history.pushState(...)
andhistory.replaceState(...)
as these will conflict with SvelteKit's router. Use thepushState
andreplaceState
imports from$app/navigation
instead.The text was updated successfully, but these errors were encountered: