bootstrap
function bootstrap<App, Surface>(config): Promise<void>;The app entrypoint. Detects whether this load is a top-level app or an embedded surface, performs
the right handshake (with a standalone fallback when there is no shell), resolves the matching
component loader, and hands the connected client to the caller’s mount callback. This is what most
apps call from main.ts.
Type Parameters
Section titled “Type Parameters”App
Surface
Section titled “Surface”Surface
Parameters
Section titled “Parameters”config
Section titled “config”BootstrapConfig<App, Surface>
The bootstrap configuration. See BootstrapConfig.
Returns
Section titled “Returns”Promise<void>