Skip to content

SidebarItem when hover sometime* calling +page.js making a lot of duplicated requests #1284

Closed Answered by complib2891
complib2891 asked this question in Q&A
Discussion options

You must be logged in to vote

previously tried load({fetch, untrack, url}) and window.location.pathname to workaround this behaviour.

https://kit.svelte.dev/docs/link-options#data-sveltekit-preload-data

changing hover to tap fixed this annoying hover feature because utilizing +page.js of svelte/kit making quite a lot of zombie requests every time there's an hover/mouse over, just doesn't make sense for my application, as wasteful requests are just that useless/inefficient, and my app's already inefficient as it is.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by complib2891
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant