Having a strongly typed ElementManager causes more harm than good.
Not all Maui elements, which could be used in a markup, inherit BindableObject.
In some cases it allows to use Blazor components for non-Maui elements (maybe ObservableCollection?).
And it actually makes the code cleaner, as we cast BindableObject to the required type anyway in most cases.
Having a strongly typed ElementManager causes more harm than good. Not all Maui elements, which could be used in a markup, inherit BindableObject. In some cases it allows to use Blazor components for non-Maui elements (maybe ObservableCollection?). And it actually makes the code cleaner, as we cast BindableObject to the required type anyway in most cases.