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

Function pushHostRootContext

code/redux/public/app.js:10204–10213  ·  view source on GitHub ↗
(workInProgress)

Source from the content-addressed store, hash-verified

10202 }
10203
10204 function pushHostRootContext(workInProgress) {
10205 var root = workInProgress.stateNode;
10206 if (root.pendingContext) {
10207 pushTopLevelContextObject(workInProgress, root.pendingContext, root.pendingContext !== root.context);
10208 } else if (root.context) {
10209 // Should always be set
10210 pushTopLevelContextObject(workInProgress, root.context, false);
10211 }
10212 pushHostContainer(workInProgress, root.containerInfo);
10213 }
10214
10215 function updateHostRoot(current, workInProgress, renderExpirationTime) {
10216 pushHostRootContext(workInProgress);

Callers 2

updateHostRootFunction · 0.70
bailoutOnLowPriorityFunction · 0.70

Calls 2

pushHostContainerFunction · 0.70

Tested by

no test coverage detected