mount method

void mount(
  1. Component factory(
    1. T deps
    )
)

Mounts the app after awaiting the initializer.

factory receives the resolved result of Document.initialize as deps and must return the root component.

.mount((deps) => App(registry: deps.registry))

Implementation

void mount(Component Function(T deps) factory) {
  _run(factory);
}