dillon1000/react

Commit

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.
Browse files
Changed paths7 files
First-parent comparison
M src/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 Modified
Patch

Files changed

Rendering syntax-highlighted changes…