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

Function getRootHostContainer

code/dependency-injection/public/app.js:11997–12000  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11995 }
11996
11997 function getRootHostContainer() {
11998 var rootInstance = requiredContext(rootInstanceStackCursor.current);
11999 return rootInstance;
12000 }
12001
12002 function pushHostContainer(fiber, nextRootInstance) {
12003 // 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