MCPcopy Index your code
hub / github.com/plotly/dash / getReactRootElementInContainer

Function getReactRootElementInContainer

dash/deps/react-dom@18.2.0.js:29516–29526  ·  view source on GitHub ↗
(container)

Source from the content-addressed store, hash-verified

29514 }
29515
29516 function getReactRootElementInContainer(container) {
29517 if (!container) {
29518 return null;
29519 }
29520
29521 if (container.nodeType === DOCUMENT_NODE) {
29522 return container.documentElement;
29523 } else {
29524 return container.firstChild;
29525 }
29526 }
29527
29528 function noopOnRecoverableError() {// This isn't reachable because onRecoverableError isn't called in the
29529 // legacy API.

Callers 2

unmountComponentAtNodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…