Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
6525
function
onCommitRoot(root) {
6526
if
(typeof onCommitFiberRoot ===
'function'
) {
6527
onCommitFiberRoot(root);
6528
}
6529
}
6530
6531
function
onCommitUnmount(fiber) {
6532
if
(typeof onCommitFiberUnmount ===
'function'
) {
Callers
1
commitRoot
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected