MCPcopy Create free account
hub / github.com/danizep/react-timeless / hasNonRootReactChild

Function hasNonRootReactChild

examples/bundle.js:1513–1519  ·  view source on GitHub ↗

* True if the supplied DOM node has a direct React-rendered child that is * not a React root element. Useful for warning in `render`, * `unmountComponentAtNode`, etc. * * @param {?DOMElement} node The candidate DOM node. * @return {boolean} True if the DOM element contains a direct child t

(container)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

bundle.jsFile · 0.85

Calls 1

Tested by

no test coverage detected