Continuing the discussion from Dynamic number of nested component instances:
I have components that might include a number of instances of another component, e.g., rows or columns in a table, options in a select/dropdown, etc. To accomplish this, I have to either create a separate variant for each potential number of nested instances, or create the component with the maximum possible number of nested instances and make the instances hide-able. Neither is optimal—the first could lead to a crazy number of variants, and the second could result in a large number of hidden layers, which hits performance pretty hard.
It would be great to be able to specify a component instance to be nested in a “parent” component then allow an arbitrary number of the nested “child” instances in instances of the parent component.