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

Function popHostContext

code/third-party/public/app.js:11182–11191  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

11180 }
11181
11182 function popHostContext(fiber) {
11183 // Do not pop unless this Fiber provided the current context.
11184 // pushHostContext() only pushes Fibers that provide unique contexts.
11185 if (contextFiberStackCursor.current !== fiber) {
11186 return;
11187 }
11188
11189 pop(contextStackCursor, fiber);
11190 pop(contextFiberStackCursor, fiber);
11191 }
11192
11193 return {
11194 getHostContext: getHostContext,

Callers 4

completeWorkFunction · 0.70
unwindWorkFunction · 0.70
unwindInterruptedWorkFunction · 0.70
ReactFiberSchedulerFunction · 0.70

Calls 1

popFunction · 0.70

Tested by

no test coverage detected