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

Function getHostContext

code/new-context-api/public/app.js:11289–11292  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11287 }
11288
11289 function getHostContext() {
11290 var context = requiredContext(contextStackCursor.current);
11291 return context;
11292 }
11293
11294 function pushHostContext(fiber) {
11295 var rootInstance = requiredContext(rootInstanceStackCursor.current);

Callers 2

ReactFiberCompleteWorkFunction · 0.70
completeWorkFunction · 0.70

Calls 1

requiredContextFunction · 0.70

Tested by

no test coverage detected