MCPcopy Create free account
hub / github.com/reactjs/react-rails / popHostContext

Function popHostContext

lib/assets/react-source/development/react.js:18158–18167  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

18156 }
18157
18158 function popHostContext(fiber) {
18159 // Do not pop unless this Fiber provided the current context.
18160 // pushHostContext() only pushes Fibers that provide unique contexts.
18161 if (contextFiberStackCursor.current !== fiber) {
18162 return;
18163 }
18164
18165 pop(contextStackCursor$1, fiber);
18166 pop(contextFiberStackCursor, fiber);
18167 }
18168
18169 var DefaultSuspenseContext = 0; // The Suspense Context is split into two parts. The lower bits is
18170 // inherited deeply down the subtree. The upper bits only affect

Callers 3

completeWorkFunction · 0.85
unwindWorkFunction · 0.85
unwindInterruptedWorkFunction · 0.85

Calls 1

popFunction · 0.85

Tested by

no test coverage detected