dillon1000/react
Commit
Browse files Remove "construct" call except on composites
This is a little simpler (and a teeny tiny bit faster). The one in ReactCompositeComponent stays because of the way we create ReactCompositeComponentWrapper inside instantiateReactComponent.
Changed paths7 files
First-parent comparisonsrc/renderers/dom/shared/ReactDOMComponent.js ModifiedM src/renderers/dom/shared/ReactDOMEmptyComponent.js ModifiedM src/renderers/dom/shared/ReactDOMTextComponent.js ModifiedM src/renderers/shared/reconciler/ReactNativeComponent.js ModifiedM src/renderers/shared/reconciler/ReactSimpleEmptyComponent.js ModifiedM src/renderers/shared/reconciler/instantiateReactComponent.js ModifiedM src/test/ReactTestUtils.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…