dillon1000/react

Commit

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.
Browse files
Changed paths1 file
First-parent comparison
M src/renderers/dom/fiber/ReactDOMFiberComponent.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…