Svelte · Senior · Question 62 of 75
What does updated from $app/state help with?
- ✓Correct answer: Detecting that a new version of the app was deployed, so you can prompt a reload or do a full navigation
- 2Checking if a component re-rendered
- 3Detecting stale browser cache headers
Explanation
In SvelteKit 3 the version check polls periodically by default, so long-open tabs learn about new deployments.