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 invalidate() inside an onMount(), the layout load function that was invalidated now runs every time sveltekit preloads pages. In the reproduction link below every time I hover on a pre-loadable link it will also run the layout load function. Once we click a link though the bug seemingly disappears.
Describe the bug
When using
invalidate()
inside anonMount()
, the layout load function that was invalidated now runs every time sveltekit preloads pages. In the reproduction link below every time I hover on a pre-loadable link it will also run the layout load function. Once we click a link though the bug seemingly disappears.Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-7tjszr?file=src%2Froutes%2F%2Blayout.svelte
Logs
No response
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: