Skip to content

Commit 78ba488

Browse files
committed
update
1 parent 7c4ba3c commit 78ba488

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/routes/reference/components/error-boundary.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@ Subtree wrapped by the boundary.
5050

5151
- **Type:** `JSX.Element`
5252

53+
Returns the rendered children or fallback content.
54+
5355
## Behavior
5456

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.
5658
- Errors thrown from event handlers or from callbacks scheduled outside Solid's rendering and update flow are not caught by the boundary.
5759
- Function fallbacks receive `reset`, which clears the current error state and re-renders the children.
5860
- Errors thrown by the fallback itself can be caught by a parent error boundary.

0 commit comments

Comments
 (0)