dillon1000/react

Commit

Stop Unnecessary Purging of Node Cache

When each component unmounts, it already cleans up its respective entry in the node cache. Let's stop blowing away the entire node cache unnecessarily.

This should improve performance because a React component's root will never need to be searched for more than once.
Browse files
Changed paths2 files
First-parent comparison
M src/core/ReactDOMIDOperations.js ModifiedM src/core/ReactID.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…