dillon1000/react
Commit
Browse files Short-circuit `updatePropertyByID`
When `ReactNativeComponent` updates, it calls `updatePropertyByID` in `ReactDOMIDOperations` which calls `DOMPropertyOperations`. However, in `ReactDOMIDOperations`, we will lookup the node for an ID using `ReactID.getNode`. This wastes time looking for nodes when we may not need to ever update it (e.g. `children`). This changes `ReactNativeComponent` to bail out sooner.
Changed paths1 file
First-parent comparisonsrc/core/ReactNativeComponent.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…