registerComponentDomNode method
Stores the root DOM node for a component. Called by createDom once the Element for a component's root is created.
Implementation
void registerComponentDomNode(Component component, Node dom) {
_componentNodes.putIfAbsent(component, () => dom);
}