You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/routes/reference/components/error-boundary.mdx
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,9 +50,11 @@ Subtree wrapped by the boundary.
50
50
51
51
-**Type:**`JSX.Element`
52
52
53
+
Returns the rendered children or fallback content.
54
+
53
55
## Behavior
54
56
55
-
-`<ErrorBoundary>` catches errors thrown while rendering JSX and while updating reactive computations in its subtree.
57
+
-`<ErrorBoundary>` catches errors thrown while rendering JSX and while updating reactive computations in its subtree, including reactive async primitives when they surface through the same rendering or update flow.
56
58
- Errors thrown from event handlers or from callbacks scheduled outside Solid's rendering and update flow are not caught by the boundary.
57
59
- Function fallbacks receive `reset`, which clears the current error state and re-renders the children.
58
60
- Errors thrown by the fallback itself can be caught by a parent error boundary.
0 commit comments