RenderComponent()
RenderComponent(
Renders one of the registered plugin components into the Shadow DOM mount. Ensures the plugin is initialized, waits for any external config to finish loading, reapplies styles, and then swaps the active component via the Root's imperative API.
Parameters
Fields: component: "Integrations" | "ConfigureIntegration" | "ExecutionHistory" | "UpdateConnections" | "UpdateMaps" | "UpdateSchedules"; props: Record<string, any>.
Returns
Remarks
- If the Shadow DOM or React root are missing, this will re-initialize them.
- If
config.configFileis present and not yet loaded, this will attempt to wait briefly for it to load so theme/vars are up-to-date before render. - Logs structured error codes for common failure modes.
Example
RenderComponent({
component: 'Integrations',
props: { showUpdate: true }
});
Was this topic helpful?