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

Function onCommitRoot

code/new-context-api/public/app.js:6525–6529  ·  view source on GitHub ↗
(root)

Source from the content-addressed store, hash-verified

6523}
6524
6525function onCommitRoot(root) {
6526 if (typeof onCommitFiberRoot === 'function') {
6527 onCommitFiberRoot(root);
6528 }
6529}
6530
6531function onCommitUnmount(fiber) {
6532 if (typeof onCommitFiberUnmount === 'function') {

Callers 1

commitRootFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected