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

Function commitDeletion

code/dependency-injection/public/app.js:11902–11907  ·  view source on GitHub ↗
(current)

Source from the content-addressed store, hash-verified

11900 }
11901
11902 function commitDeletion(current) {
11903 // Recursively delete all host nodes from the parent.
11904 // Detach refs and call componentWillUnmount() on the whole subtree.
11905 unmountHostComponents(current);
11906 detachFiber(current);
11907 }
11908
11909 function commitWork(current, finishedWork) {
11910 switch (finishedWork.tag) {

Callers 1

commitAllHostEffectsFunction · 0.70

Calls 2

unmountHostComponentsFunction · 0.70
detachFiberFunction · 0.70

Tested by

no test coverage detected