We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0589024 commit e4c9d19Copy full SHA for e4c9d19
content/docs/error-boundaries.md
@@ -20,6 +20,7 @@ Error boundaries are React components that **catch JavaScript errors anywhere in
20
> * Event handlers ([learn more](#how-about-event-handlers))
21
> * Asynchronous code (e.g. `setTimeout` or `requestAnimationFrame` callbacks)
22
> * Server side rendering
23
+> * Errors thrown in the error boundary itself (rather than its children)
24
25
A class component becomes an error boundary if it defines a new lifecycle method called `componentDidCatch(error, info)`:
26
0 commit comments