MCPcopy Create free account
hub / github.com/microsoft/SandDance / onCommitRoot

Function onCommitRoot

docs/external/js/react-dom.development.js:23678–23682  ·  view source on GitHub ↗
(root, expirationTime)

Source from the content-addressed store, hash-verified

23676 }
23677 }
23678 function onCommitRoot(root, expirationTime) {
23679 if (typeof onCommitFiberRoot === 'function') {
23680 onCommitFiberRoot(root, expirationTime);
23681 }
23682 }
23683 function onCommitUnmount(fiber) {
23684 if (typeof onCommitFiberUnmount === 'function') {
23685 onCommitFiberUnmount(fiber);

Callers 1

commitRootImplFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected