MCPcopy Create free account
hub / github.com/microsoft/SandDance / addSubtreeSuspenseContext

Function addSubtreeSuspenseContext

docs/external/js/react-dom.development.js:14637–14639  ·  view source on GitHub ↗
(parentContext, subtreeContext)

Source from the content-addressed store, hash-verified

14635 return parentContext & SubtreeSuspenseContextMask | shallowContext;
14636 }
14637 function addSubtreeSuspenseContext(parentContext, subtreeContext) {
14638 return parentContext | subtreeContext;
14639 }
14640 function pushSuspenseContext(fiber, newContext) {
14641 push(suspenseStackCursor, newContext, fiber);
14642 }

Callers 1

updateSuspenseComponentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected