Currently users have to do this to add a root component:
.OnStart((sender, host) => { host.RootComponents.Add(new CloseDemoWindowRootComponent()); })
it would be nice to have the ability to do it like the SetStartingScreen does:
.AddRootComponent<CloseDemoWindowRootComponent>()
.AddRootComponent(new CloseDemoWindowRootComponent())
Currently users have to do this to add a root component:
it would be nice to have the ability to do it like the
SetStartingScreendoes: