* True if the supplied DOM node is a valid node element. * * @param {?DOMElement} node The candidate DOM node. * @return {boolean} True if the DOM is a valid DOM node. * @internal
(node)
| 16816 | * @internal |
| 16817 | */ |
| 16818 | function isValidContainer(node) { |
| 16819 | 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 ')); |
| 16820 | } |
| 16821 | |
| 16822 | function getReactRootElementInContainer(container) { |
| 16823 | if (!container) { |
no outgoing calls
no test coverage detected