tearDownAttachedNodes function
void
tearDownAttachedNodes()
Unmounts and removes the mount nodes for components rendered via renderAttachedToDocument that are not automatically unmounted.
Implementation
void tearDownAttachedNodes() {
for (var container in _attachedReactContainers) {
react_dom.unmountComponentAtNode(container);
container.remove();
}
}