Replies: 2 comments
-
I was wondering the same, the viewport option would be so handy e.g. for a mobile web app that needs to feel very snappy. Right now, I guess the only option we have is to manually preload the data with |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is it possible to prefetch data without parsing/evaluation? No DOM, no CSSOM. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In SvelteKit preload data attributes are pretty awesome stuff, but I was wondering why there's no viewport like property for
data-sveltekit-preload-data
attribute? I guess, surely there might be reason behind this like any bad practices, but something likedata-sveltekit-preload-data="viewport"
would be so nice, like prefetching that page's data when that link or element comes in viewport and this would'nt be a bad practice too!Please, enlighten me up if there's a cause behind this! Thanks.
Beta Was this translation helpful? Give feedback.
All reactions