MCPcopy Index your code
hub / github.com/microsoft/SandDance / commitDeletion

Function commitDeletion

docs/external/js/react-dom.development.js:20631–20639  ·  view source on GitHub ↗
(finishedRoot, current, renderPriorityLevel)

Source from the content-addressed store, hash-verified

20629 }
20630
20631 function commitDeletion(finishedRoot, current, renderPriorityLevel) {
20632 {
20633 // Recursively delete all host nodes from the parent.
20634 // Detach refs and call componentWillUnmount() on the whole subtree.
20635 unmountHostComponents(finishedRoot, current, renderPriorityLevel);
20636 }
20637
20638 detachFiber(current);
20639 }
20640
20641 function commitWork(current, finishedWork) {
20642

Callers 1

commitMutationEffectsFunction · 0.85

Calls 2

unmountHostComponentsFunction · 0.85
detachFiberFunction · 0.85

Tested by

no test coverage detected