MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / pushHostRootContext

Function pushHostRootContext

code/composition/public/app.js:10091–10100  ·  view source on GitHub ↗
(workInProgress)

Source from the content-addressed store, hash-verified

10089 }
10090
10091 function pushHostRootContext(workInProgress) {
10092 var root = workInProgress.stateNode;
10093 if (root.pendingContext) {
10094 pushTopLevelContextObject(workInProgress, root.pendingContext, root.pendingContext !== root.context);
10095 } else if (root.context) {
10096 // Should always be set
10097 pushTopLevelContextObject(workInProgress, root.context, false);
10098 }
10099 pushHostContainer(workInProgress, root.containerInfo);
10100 }
10101
10102 function updateHostRoot(current, workInProgress, renderExpirationTime) {
10103 pushHostRootContext(workInProgress);

Callers 2

updateHostRootFunction · 0.70
bailoutOnLowPriorityFunction · 0.70

Calls 2

pushHostContainerFunction · 0.70

Tested by

no test coverage detected