MCPcopy Index your code
hub / github.com/plotly/dash / commitRoot

Function commitRoot

dash/deps/react-dom@18.3.1.js:26722–26738  ·  view source on GitHub ↗
(root, recoverableErrors, transitions)

Source from the content-addressed store, hash-verified

26720 }
26721
26722 function commitRoot(root, recoverableErrors, transitions) {
26723 // TODO: This no longer makes any sense. We already wrap the mutation and
26724 // layout phases. Should be able to remove.
26725 var previousUpdateLanePriority = getCurrentUpdatePriority();
26726 var prevTransition = ReactCurrentBatchConfig$3.transition;
26727
26728 try {
26729 ReactCurrentBatchConfig$3.transition = null;
26730 setCurrentUpdatePriority(DiscreteEventPriority);
26731 commitRootImpl(root, recoverableErrors, transitions, previousUpdateLanePriority);
26732 } finally {
26733 ReactCurrentBatchConfig$3.transition = prevTransition;
26734 setCurrentUpdatePriority(previousUpdateLanePriority);
26735 }
26736
26737 return null;
26738 }
26739
26740 function commitRootImpl(root, recoverableErrors, transitions, renderPriorityLevel) {
26741 do {

Callers 2

finishConcurrentRenderFunction · 0.70
performSyncWorkOnRootFunction · 0.70

Calls 3

getCurrentUpdatePriorityFunction · 0.70
setCurrentUpdatePriorityFunction · 0.70
commitRootImplFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…