MCPcopy
hub / github.com/facebook/react / popContext

Function popContext

packages/react-reconciler/src/ReactFiberLegacyContext.js:129–136  ·  view source on GitHub ↗
(fiber: Fiber)

Source from the content-addressed store, hash-verified

127}
128
129function popContext(fiber: Fiber): void {
130 if (disableLegacyContext) {
131 return;
132 } else {
133 pop(didPerformWorkStackCursor, fiber);
134 pop(contextStackCursor, fiber);
135 }
136}
137
138function popTopLevelContextObject(fiber: Fiber): void {
139 if (disableLegacyContext) {

Callers

nothing calls this directly

Calls 1

popFunction · 0.90

Tested by

no test coverage detected