@dialstack/sdk / pure / registerComponents
Function: registerComponents()
function registerComponents(): void;
Defined in: sdk/src/core/initialize-pure.ts:151
Register Web Components manually
Call this to register the DialStack Web Components when using the pure entry point. This is only needed in browser environments where you want to use dialstack.create().
Returns
void
Example
import { loadDialstackAndInitialize, registerComponents } from '@dialstack/sdk/pure';
// Register components when ready (e.g., after hydration)
if (typeof window !== 'undefined') {
registerComponents();
}