dillon1000/react
Commit
Browse files Remove unnecessary indirection and events from the hooks (#7464)
* Remove unnecessary indirection from the tree hook * Replace onSetDisplayName, onSetOwner, onSetText with one event Less events is better. onSetDisplayName, onSetOwner, and onSetText only existed because we didn't initially track elements. * Remove unused variables
Changed paths7 files
First-parent comparisonsrc/isomorphic/hooks/ReactComponentTreeHook.js ModifiedM src/renderers/dom/shared/ReactDOMComponent.js ModifiedM src/renderers/dom/shared/ReactDOMTextComponent.js ModifiedM src/renderers/native/ReactNativeTextComponent.js ModifiedM src/renderers/shared/ReactDebugTool.js ModifiedM src/renderers/shared/stack/reconciler/instantiateReactComponent.js ModifiedM src/test/ReactTestUtils.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…