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

Function pushTopLevelContextObject

code/styling/public/app.js:12374–12379  ·  view source on GitHub ↗
(fiber, context, didChange)

Source from the content-addressed store, hash-verified

12372 }
12373
12374 function pushTopLevelContextObject(fiber, context, didChange) {
12375 !(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;
12376
12377 push(contextStackCursor, context, fiber);
12378 push(didPerformWorkStackCursor, didChange, fiber);
12379 }
12380
12381 function processChildContext(fiber, parentContext) {
12382 var instance = fiber.stateNode;

Callers 1

pushHostRootContextFunction · 0.70

Calls 2

invariantFunction · 0.70
pushFunction · 0.70

Tested by

no test coverage detected