MCPcopy Index your code
hub / github.com/microsoft/SandDance / pushTopLevelContextObject

Function pushTopLevelContextObject

docs/external/js/react-dom.development.js:10904–10915  ·  view source on GitHub ↗
(fiber, context, didChange)

Source from the content-addressed store, hash-verified

10902 }
10903
10904 function pushTopLevelContextObject(fiber, context, didChange) {
10905 {
10906 if (!(contextStackCursor.current === emptyContextObject)) {
10907 {
10908 throw Error( "Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue." );
10909 }
10910 }
10911
10912 push(contextStackCursor, context, fiber);
10913 push(didPerformWorkStackCursor, didChange, fiber);
10914 }
10915 }
10916
10917 function processChildContext(fiber, type, parentContext) {
10918 {

Callers 1

pushHostRootContextFunction · 0.85

Calls 1

pushFunction · 0.70

Tested by

no test coverage detected