We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
afterNavigate
When opening a page with SSR turned off, afterNavigate fires twice. beforeNavigate and onNavigate work as expected.
beforeNavigate
onNavigate
+layout.ts
export const ssr = false
+page.svelte
<script lang="ts"> import {afterNavigate} from '$app/navigation' afterNavigate((e) => { console.log(e) }) </script>
SvelteKit 2.5.27 ❌
SvelteKit 2.19.0 ❌
annoyance
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
When opening a page with SSR turned off,
afterNavigate
fires twice.beforeNavigate
andonNavigate
work as expected.+layout.ts
+page.svelte
Reproduction
SvelteKit 2.5.27 ❌
SvelteKit 2.19.0 ❌
Severity
annoyance
The text was updated successfully, but these errors were encountered: