Svelte · Middle · Question 43 of 75
What does data-sveltekit-preload-data="hover" do?
- ✓Correct answer: Starts loading code and data for a link's page when the user hovers or taps it, so navigation feels instant
- 2Prerenders all pages at build time
- 3Caches images
Explanation
The default template sets it on <body>, so all links benefit. "tap" preloads only on press.