dillon1000/react
Commit
Browse files Use Node Cache in ReactComponent
There are currently two places where we lookup and cache nodes: `ReactDOMNodeCache` and `ReactComponent`. Instead, we should just consolidate caches and make `ReactComponent` use `ReactDOMNodeCache`.
Changed paths4 files
First-parent comparisonsrc/core/ReactComponent.js ModifiedM src/core/ReactDOMIDOperations.js ModifiedM src/core/ReactDOMNodeCache.js ModifiedM src/core/__tests__/ReactDOMIDOperations-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…