MCPcopy Create free account
hub / github.com/caseywebdev/react-list / scheduleContextWorkOnParentPath

Function scheduleContextWorkOnParentPath

docs/index.js:10583–10595  ·  view source on GitHub ↗
(parent, renderLanes, propagationRoot)

Source from the content-addressed store, hash-verified

10581 pop(valueCursor);
10582}
10583function scheduleContextWorkOnParentPath(parent, renderLanes, propagationRoot) {
10584 for (; null !== parent; ) {
10585 var alternate = parent.alternate;
10586 (parent.childLanes & renderLanes) !== renderLanes
10587 ? ((parent.childLanes |= renderLanes),
10588 null !== alternate && (alternate.childLanes |= renderLanes))
10589 : null !== alternate &&
10590 (alternate.childLanes & renderLanes) !== renderLanes &&
10591 (alternate.childLanes |= renderLanes);
10592 if (parent === propagationRoot) break;
10593 parent = parent.return;
10594 }
10595}
10596function propagateContextChanges(
10597 workInProgress,
10598 contexts,

Callers 2

propagateContextChangesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…