MCPcopy Index your code
hub / github.com/microsoft/SandDance / removeChildFromContainer

Function removeChildFromContainer

docs/external/js/react-dom.development.js:7726–7732  ·  view source on GitHub ↗
(container, child)

Source from the content-addressed store, hash-verified

7724 parentInstance.removeChild(child);
7725 }
7726 function removeChildFromContainer(container, child) {
7727 if (container.nodeType === COMMENT_NODE) {
7728 container.parentNode.removeChild(child);
7729 } else {
7730 container.removeChild(child);
7731 }
7732 }
7733
7734 function hideInstance(instance) {
7735 // pass host context to this method?

Callers 1

unmountHostComponentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected