-
Notifications
You must be signed in to change notification settings - Fork 27.4k
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
Render error handling gone with v4 #3082
Comments
1 |
At least, I'm pretty happy with the new error mechanism of react@16: |
@oliviertassinari Hi, do you know if |
Nevermind, found my answer: facebook/react#10442 No |
@damusnet I didn't know about it. I need to give it as second look! |
Unfortunately there are no simple way to catch exception during SSR and our pages can be easily stuck at loading forever. |
@ex3ndr actually there are. I coded simple component https://github.com/zekchan/react-ssr-error-boundary |
Expected Behavior
An error page is shown when the react rendering tree throw an error in production
Current Behavior
A blank page is shown when the react rendering tree throw an error in production
Steps to Reproduce (for bugs)
Context
I'm not 100% sure, but I think that such logic was present with v3.
It could have been removed with d19cc97#diff-1858c8296dd2b642c74271609cf701e7L40.
Your Environment
The text was updated successfully, but these errors were encountered: