Skip to main content

GuestMicroApp

const GuestMicroApp: NamedExoticComponent<Omit<GuestMicroAppParams, "containerId">>;

Component to load a guest microapp.

For guests with selfInitialize: true, the host must register a module scripting object (via createGuestModule or a GuestModule subclass) through CMicroApp.addScriptingObject before rendering this component, and remove it on teardown. Host-provided theme and history for self-initializing guests belong on that module SO — not on GuestMicroApp / OpenAppParams.

When this app is itself a nested guest (running inside a parent iframe), GuestMicroApp automatically forwards the shared grandparent history to child guests — callers do not need to pass history explicitly.

Param

The props for the MicroApp component.