MCPcopy Create free account
hub / github.com/caseywebdev/react-list / getOwnerDocumentFromRootContainer

Function getOwnerDocumentFromRootContainer

docs/index.js:16810–16814  ·  view source on GitHub ↗
(rootContainerElement)

Source from the content-addressed store, hash-verified

16808var eventsEnabled = null,
16809 selectionInformation = null;
16810function getOwnerDocumentFromRootContainer(rootContainerElement) {
16811 return 9 === rootContainerElement.nodeType
16812 ? rootContainerElement
16813 : rootContainerElement.ownerDocument;
16814}
16815function getOwnHostContext(namespaceURI) {
16816 switch (namespaceURI) {
16817 case "http://www.w3.org/2000/svg":

Callers 3

beginWorkFunction · 0.85
completeWorkFunction · 0.85
resolveSingletonInstanceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…