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

Function getRootHostContainer

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

Source from the content-addressed store, hash-verified

11263 }
11264
11265 function getRootHostContainer() {
11266 var rootInstance = requiredContext(rootInstanceStackCursor.current);
11267 return rootInstance;
11268 }
11269
11270 function pushHostContainer(fiber, nextRootInstance) {
11271 // Push current root instance onto the stack;

Callers 2

ReactFiberCompleteWorkFunction · 0.70
completeWorkFunction · 0.70

Calls 1

requiredContextFunction · 0.70

Tested by

no test coverage detected