dillon1000/react

Commit

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`.
Browse files
Changed paths4 files
First-parent comparison
M src/core/ReactComponent.js ModifiedM src/core/ReactDOMIDOperations.js ModifiedM src/core/ReactDOMNodeCache.js ModifiedM src/core/__tests__/ReactDOMIDOperations-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…