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

Function commitDeletion

code/styling/public/app.js:11809–11814  ·  view source on GitHub ↗
(current)

Source from the content-addressed store, hash-verified

11807 }
11808
11809 function commitDeletion(current) {
11810 // Recursively delete all host nodes from the parent.
11811 // Detach refs and call componentWillUnmount() on the whole subtree.
11812 unmountHostComponents(current);
11813 detachFiber(current);
11814 }
11815
11816 function commitWork(current, finishedWork) {
11817 switch (finishedWork.tag) {

Callers 1

commitAllHostEffectsFunction · 0.70

Calls 2

unmountHostComponentsFunction · 0.70
detachFiberFunction · 0.70

Tested by

no test coverage detected