dillon1000/react
Commit
Browse files Move component class instantiation into ReactCompositeComponent
We need to move instantiation into the mount phase for context purposes. To do this I moved the shallow rendering stuff into ReactTestUtils and reused more of the existing code for it by instantiating a noop child. Everywhere we refer to the "type" we should pass it to ReactNativeComponent to resolve any string value into the underlying composite.
Changed paths1 file
First-parent comparisonsrc/core/ReactCompositeComponent.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…