Open
Description
Users sometimes need to add mandatory components into the render tree that does not have a ChildContent
parameter.
The RenderTree
currently only allows adding components that has a ChildContent
property, but that is an arbitrary limitation we can work around.
Now, if you call RenderTree.Add
, the component is added as a child of the previous component.
However, I see no downside in allowing RenderFragment
s in general to be added to the render tree.
IFF a component with a ChildContent is added, then any other components or fragments will be added as children under that. If not, they are added at the root.
There are probably some edge cases I haven't thought about, so lets discuss first.