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

[ReactDebugTools] wrap uncaught error from rendering user's component #1

Closed

Conversation

mondaychen
Copy link
Owner

@mondaychen mondaychen commented Mar 28, 2022

Summary

This PR adds ability to detect error thrown from user's code, and wrap it inside an error with custom name, so Dev Tools is able to caught it and show custom error view.

This is to unblock #2

How did you test this change?

I'm testing it with a user's code from facebook#24096

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