Skip to content

Commit d11ae30

Browse files
committed
Capitalize Error Boundaries in Component docs
1 parent b011783 commit d11ae30

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/content/reference/react/Component.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,11 +1272,11 @@ We recommend defining components as functions instead of classes. [See how to mi
12721272
By default, if your application throws an error during rendering, React will remove its UI from the screen. To prevent this, you can wrap a part of your UI into an *Error Boundary*. An Error Boundary is a special component that lets you display some fallback UI instead of the part that crashed--for example, an error message.
12731273
12741274
<Note>
1275-
Error boundaries do not catch errors for:
1275+
Error Boundaries do not catch errors for:
12761276
12771277
- Event handlers [(learn more)](/learn/responding-to-events)
12781278
- [Server side rendering](/reference/react-dom/server)
1279-
- Errors thrown in the error boundary itself (rather than its children)
1279+
- Errors thrown in the Error Boundary itself (rather than its children)
12801280
- Asynchronous code (e.g. `setTimeout` or `requestAnimationFrame` callbacks); an exception is the usage of the [`startTransition`](/reference/react/useTransition#starttransition) function returned by the [`useTransition`](/reference/react/useTransition) Hook. Errors thrown inside the transition function are caught by error boundaries [(learn more)](/reference/react/useTransition#displaying-an-error-to-users-with-error-boundary)
12811281
12821282
</Note>

0 commit comments

Comments
 (0)