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

Function commitDeletion

code/redux/public/app.js:12060–12065  ·  view source on GitHub ↗
(current)

Source from the content-addressed store, hash-verified

12058 }
12059
12060 function commitDeletion(current) {
12061 // Recursively delete all host nodes from the parent.
12062 // Detach refs and call componentWillUnmount() on the whole subtree.
12063 unmountHostComponents(current);
12064 detachFiber(current);
12065 }
12066
12067 function commitWork(current, finishedWork) {
12068 switch (finishedWork.tag) {

Callers 1

commitAllHostEffectsFunction · 0.70

Calls 2

unmountHostComponentsFunction · 0.70
detachFiberFunction · 0.70

Tested by

no test coverage detected