diff --git a/src/content/reference/react/Component.md b/src/content/reference/react/Component.md index f6c8cc4bf32..41363d5d7fb 100644 --- a/src/content/reference/react/Component.md +++ b/src/content/reference/react/Component.md @@ -1272,11 +1272,11 @@ We recommend defining components as functions instead of classes. [See how to mi 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. -Error boundaries do not catch errors for: +Error Boundaries do not catch errors for: - Event handlers [(learn more)](/learn/responding-to-events) - [Server side rendering](/reference/react-dom/server) -- Errors thrown in the error boundary itself (rather than its children) +- Errors thrown in the Error Boundary itself (rather than its children) - 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)