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

Function pushTopLevelContextObject

code/event-handlers/public/app.js:11704–11709  ·  view source on GitHub ↗
(fiber, context, didChange)

Source from the content-addressed store, hash-verified

11702 }
11703
11704 function pushTopLevelContextObject(fiber, context, didChange) {
11705 !(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;
11706
11707 push(contextStackCursor, context, fiber);
11708 push(didPerformWorkStackCursor, didChange, fiber);
11709 }
11710
11711 function processChildContext(fiber, parentContext) {
11712 var instance = fiber.stateNode;

Callers 1

pushHostRootContextFunction · 0.70

Calls 2

invariantFunction · 0.70
pushFunction · 0.70

Tested by

no test coverage detected