Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Error Boundaries Caveats are not added in the new docs #6991

Open
robertwt7 opened this issue Jun 24, 2024 · 0 comments
Open

[Bug]: Error Boundaries Caveats are not added in the new docs #6991

robertwt7 opened this issue Jun 24, 2024 · 0 comments

Comments

@robertwt7
Copy link

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

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)

Page

https://react.dev/reference/react/Component#catching-rendering-errors-with-an-error-boundary

Details

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant