mount method
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);
}