dillon1000/react

Commit

ReactMount now never expects invalid nodes in its cache

It never really made sense for us to have "invalid" nodes in the cache -- when we unmount things, we should always remove them from the cache properly. Now that swapping composite types doesn't repopulate the cache, we should be okay to now assume that everything in the cache is good.
Browse files
Changed paths1 file
First-parent comparison
M src/renderers/dom/client/ReactMount.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…