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

Error handling code for concurrent mode suspense does not properly handle errors #2992

Open
eryi opened this issue May 26, 2020 · 0 comments
Open

Comments

@eryi
Copy link

@eryi eryi commented May 26, 2020

Documentation URL:
https://reactjs.org/docs/concurrent-mode-suspense.html#handling-errors

CodeSandbox URL:
https://codesandbox.io/s/adoring-goodall-8wbn7

The documentation suggests using error boundary to catch rendering or data fetching errors. However, in development, this triggers the "react-error-overlay" due to unhandled runtime error.

Please click on the CodeSandbox link to see the react-error-overlay.

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.