Skip to content

Refactor ReactMultiChild to not throw errors too #1022

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

Merged
merged 1 commit into from
Feb 14, 2014

Conversation

sophiebits
Copy link
Collaborator

Missed these when I fixed up Transaction in d300df5; with the exception of ReactErrorUtils, this should eliminate every place where we rethrow errors. Now the purple stop sign works (see #975) to catch errors in lower-level components as well, not only at the root level.

@zpao zpao added this to the 0.9 milestone Feb 5, 2014
Missed these when I fixed up Transaction; with the exception of ReactErrorUtils, this should be everything.
sophiebits added a commit to sophiebits/react that referenced this pull request Feb 12, 2014
With facebook#1021 and facebook#1022, I believe this makes it so React never wraps user code in a try/catch. I left in the calls to ReactErrorUtils.guard because it sounds like FB code finds them useful.
@petehunt
Copy link
Contributor

this was accepted internally and will merge soon

zpao added a commit that referenced this pull request Feb 14, 2014
Refactor ReactMultiChild to not throw errors too
@zpao zpao merged commit cebc49e into facebook:master Feb 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants