MCPcopy Create free account
hub / github.com/microsoft/SandDance / createLegacyRoot

Function createLegacyRoot

docs/external/js/react-dom.development.js:24771–24773  ·  view source on GitHub ↗
(container, options)

Source from the content-addressed store, hash-verified

24769 return root;
24770 }
24771 function createLegacyRoot(container, options) {
24772 return new ReactDOMBlockingRoot(container, LegacyRoot, options);
24773 }
24774 function isValidContainer(node) {
24775 return !!(node && (node.nodeType === ELEMENT_NODE || node.nodeType === DOCUMENT_NODE || node.nodeType === DOCUMENT_FRAGMENT_NODE || node.nodeType === COMMENT_NODE && node.nodeValue === ' react-mount-point-unstable '));
24776 }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected