Child components can be created dynamically using the runtime data. dispatch/message won’t work cause there’s no parent-child relationship between the current component and the newly created one. For a fix, all we need to do is building the relationship.
example
Here’s a example in which we need to create a tree of components from the tree structure in the data, and pass messages between the parent and children: