dillon1000/react
Commit
Browse files Cleanup `ReactCurrentOwner` on Fatal
If a React component's render() fatals, it may contaminate ReactCurrentOwner. This will cause the owner to be set improperly for the next React.renderComponent() invocation (which causes an owner to be set when there shouldn't be one).
Changed paths2 files
First-parent comparisonsrc/core/ReactCompositeComponent.js ModifiedM src/core/__tests__/ReactCompositeComponent-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…