Svelte · Junior · Question 76 of 76
What does <svelte:boundary> do?
- ✓Correct answer: Catches errors thrown while rendering its contents and shows a
failedsnippet instead of breaking the whole app - 2Limits CSS to a region
- 3Lazy-loads its contents
Explanation
Errors in event handlers or setTimeout callbacks are not caught. With async Svelte it can also show a pending snippet.