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
In the previous docs, error boundaries caveats are clearly defined. In the new one however, it's not.
If we want to direct all new react eng to the new docs we should be adding this details to the new one as well
Error boundaries do not catch errors for:
Event handlers (learn more)
Asynchronous code (e.g. setTimeout or requestAnimationFrame callbacks)
Server side rendering
Errors thrown in the error boundary itself (rather than its children)
Summary
In the previous docs, error boundaries caveats are clearly defined. In the new one however, it's not.
If we want to direct all new react eng to the new docs we should be adding this details to the new one as well
Page
https://react.dev/reference/react/Component#catching-rendering-errors-with-an-error-boundary
Details
No response
The text was updated successfully, but these errors were encountered: