registerComponentTree method
Implementation
void registerComponentTree(Component component, Morphic tree) {
// Always update — putIfAbsent would leave child components with a stale
// prevTree after a parent morph, causing the next requestUpdateFor to
// diff against the wrong snapshot.
_componentTrees[component] = tree;
}