dillon1000/react
Commit
Browse files No need for unmounting DOM components
We'll stop tracking the input value tracking. We'll also stop uncaching the node because we can just let the garbage collector take care of that. This makes it easier to release components in trees that never mounted. This also removes an invariant error which is covered by unit tests. This is necessary to separate regardless because we don't want this to fire for a component that was started but was thrown away because it never mounted. We can come back to that later.
Changed paths1 file
First-parent comparisonsrc/renderers/dom/fiber/ReactDOMFiberComponent.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…