Skip to content

The builder needs a way to add rootcomponents instead of relying on OnStart #381

Description

@Thraka

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())

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions