dillon1000/react
Commit
Browse files Improve error for nested render calls
In the future we could consider wrapping the entire public API (renderComponent, setProps, setState, etc) in this check but this should do for now. Test Plan: grunt test
Changed paths2 files
First-parent comparisonsrc/core/ReactCompositeComponent.js ModifiedM src/core/__tests__/ReactCompositeComponent-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…