MCPcopy Create free account
hub / github.com/plotly/dash / pushHostRootContext

Function pushHostRootContext

dash/deps/react-dom@18.3.1.js:19835–19846  ·  view source on GitHub ↗
(workInProgress)

Source from the content-addressed store, hash-verified

19833 }
19834
19835 function pushHostRootContext(workInProgress) {
19836 var root = workInProgress.stateNode;
19837
19838 if (root.pendingContext) {
19839 pushTopLevelContextObject(workInProgress, root.pendingContext, root.pendingContext !== root.context);
19840 } else if (root.context) {
19841 // Should always be set
19842 pushTopLevelContextObject(workInProgress, root.context, false);
19843 }
19844
19845 pushHostContainer(workInProgress, root.containerInfo);
19846 }
19847
19848 function updateHostRoot(current, workInProgress, renderLanes) {
19849 pushHostRootContext(workInProgress);

Callers 2

updateHostRootFunction · 0.70

Calls 2

pushHostContainerFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…