I'm trying to create a cache of Component instances, such that it forms a tree, so if I remove the parent instance from it, all it's children will get removed as well.
When I have a Subcomponent B which is a child of A, it internally has this
aComponentImpl
reference. Is there a way to get it from outside? (i.e. to figure out who the parent of bComponent instance is?). Or do I need to track this myself (although not a single source of truth)