MCPcopy Index your code
hub / github.com/microsoft/SandDance / pushHostRootContext

Function pushHostRootContext

docs/external/js/react-dom.development.js:17329–17340  ·  view source on GitHub ↗
(workInProgress)

Source from the content-addressed store, hash-verified

17327 }
17328
17329 function pushHostRootContext(workInProgress) {
17330 var root = workInProgress.stateNode;
17331
17332 if (root.pendingContext) {
17333 pushTopLevelContextObject(workInProgress, root.pendingContext, root.pendingContext !== root.context);
17334 } else if (root.context) {
17335 // Should always be set
17336 pushTopLevelContextObject(workInProgress, root.context, false);
17337 }
17338
17339 pushHostContainer(workInProgress, root.containerInfo);
17340 }
17341
17342 function updateHostRoot(current, workInProgress, renderExpirationTime) {
17343 pushHostRootContext(workInProgress);

Callers 2

updateHostRootFunction · 0.85
beginWorkFunction · 0.85

Calls 2

pushHostContainerFunction · 0.85

Tested by

no test coverage detected