Skip to content

Commit 9fcfd7f

Browse files
authored
docs: note when boundaries were added (#14487)
1 parent f75a9a5 commit 9fcfd7f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

documentation/docs/05-special-elements/01-svelte-boundary.md

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ title: <svelte:boundary>
66
<svelte:boundary onerror={handler}>...</svelte:boundary>
77
```
88

9+
> [!NOTE]
10+
> This feature was added in 5.3.0
11+
912
Boundaries allow you to guard against errors in part of your app from breaking the app as a whole, and to recover from those errors.
1013

1114
If an error occurs while rendering or updating the children of a `<svelte:boundary>`, or running any [`$effect`]($effect) functions contained therein, the contents will be removed.

0 commit comments

Comments
 (0)