dillon1000/react
Commit
Browse files Move ref code to ReactCompositeComponent
You can only get a ref to a ReactCompositeComponent, so move the ref code here which gives us more flexibility to put it at the correct time in the lifecycle. There should be no behavior change in this commit. Test Plan: jest
Changed paths3 files
First-parent comparisonsrc/core/ReactComponent.js ModifiedM src/core/ReactCompositeComponent.js ModifiedM src/core/ReactRef.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…