MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / commitDeletion

Function commitDeletion

code/communication/public/app.js:11844–11849  ·  view source on GitHub ↗
(current)

Source from the content-addressed store, hash-verified

11842 }
11843
11844 function commitDeletion(current) {
11845 // Recursively delete all host nodes from the parent.
11846 // Detach refs and call componentWillUnmount() on the whole subtree.
11847 unmountHostComponents(current);
11848 detachFiber(current);
11849 }
11850
11851 function commitWork(current, finishedWork) {
11852 switch (finishedWork.tag) {

Callers 1

commitAllHostEffectsFunction · 0.70

Calls 2

unmountHostComponentsFunction · 0.70
detachFiberFunction · 0.70

Tested by

no test coverage detected