docs
evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
Entry module that exposes a child micro-frontend's lifecycle so host containers can mount and unmount it cleanly.
mount and unmount functions that hosts can call to render or tear down the app. @testmount receives a container, the app renders inside it and unmount removes the rendered tree without leaving stray nodes. @testcustomProps provided to mount flow into the rendered tree via context so the app can read them. @test#ice-container (creating it if absent) and avoids double-mounting on repeated executions. @testexport interface RenderOptions {
container?: Element;
customProps?: Record<string, unknown>;
}
export interface ChildAppConfig {
mount(options?: RenderOptions): Promise<void> | void;
unmount(options?: RenderOptions): Promise<void> | void;
}
declare const config: ChildAppConfig;
export default config;Micro-frontend plugin that supplies helpers to expose child lifecycle hooks to host frameworks.