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

Function unmarkContainerAsRoot

docs/external/js/react-dom.development.js:7948–7950  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

7946 node[internalContainerInstanceKey] = hostRoot;
7947 }
7948 function unmarkContainerAsRoot(node) {
7949 node[internalContainerInstanceKey] = null;
7950 }
7951 function isContainerMarkedAsRoot(node) {
7952 return !!node[internalContainerInstanceKey];
7953 } // Given a DOM node, return the closest HostComponent or HostText fiber ancestor.

Callers 2

unmountComponentAtNodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected