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

Function pushTopLevelContextObject

code/new-context-api/public/app.js:11735–11740  ·  view source on GitHub ↗
(fiber, context, didChange)

Source from the content-addressed store, hash-verified

11733 }
11734
11735 function pushTopLevelContextObject(fiber, context, didChange) {
11736 !(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;
11737
11738 push(contextStackCursor, context, fiber);
11739 push(didPerformWorkStackCursor, didChange, fiber);
11740 }
11741
11742 function processChildContext(fiber, parentContext) {
11743 var instance = fiber.stateNode;

Callers 1

pushHostRootContextFunction · 0.70

Calls 2

invariantFunction · 0.70
pushFunction · 0.70

Tested by

no test coverage detected