dillon1000/react
Commit
Browse files 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.
Changed paths2 files
First-parent comparisonsrc/core/ReactDOMIDOperations.js ModifiedM src/core/ReactID.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…