Our current approach with elements and handlers is not the easiest one. We set properties to control component, which renders all of them to render tree. Renderer picks up corresponding handler, which handles parameters, and sets them to Maui control type.
I suggest to merge those types together. Set parameters to Maui control type directly in component's SetParametersAsync method. We still need to render RenderFragment properties to the RenderTree (e.g. ChildContent).
Our current approach with elements and handlers is not the easiest one. We set properties to control component, which renders all of them to render tree. Renderer picks up corresponding handler, which handles parameters, and sets them to Maui control type.
I suggest to merge those types together. Set parameters to Maui control type directly in component's SetParametersAsync method. We still need to render RenderFragment properties to the RenderTree (e.g. ChildContent).