MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / pushTopLevelContextObject

Function pushTopLevelContextObject

code/communication/public/app.js:12409–12414  ·  view source on GitHub ↗
(fiber, context, didChange)

Source from the content-addressed store, hash-verified

12407 }
12408
12409 function pushTopLevelContextObject(fiber, context, didChange) {
12410 !(contextStackCursor.cursor == null) ? invariant(false, 'Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.') : void 0;
12411
12412 push(contextStackCursor, context, fiber);
12413 push(didPerformWorkStackCursor, didChange, fiber);
12414 }
12415
12416 function processChildContext(fiber, parentContext) {
12417 var instance = fiber.stateNode;

Callers 1

pushHostRootContextFunction · 0.70

Calls 2

invariantFunction · 0.70
pushFunction · 0.70

Tested by

no test coverage detected