Before you start
Use an adapter instead of adding the standard widget installation code. The adapter creates the widget when its component mounts and destroys it when the component unmounts. You need your organization ID to initialize the widget. Find it in your widget code in website settings.Choose an adapter
How adapters work
Each adapter initializes the widget on mount, translates property changes into JavaScript API updates, keeps reactive data synchronized with widget events, and cleans up on unmount. See Adapter core for the shared lifecycle and data model.Related APIs
For a broader comparison, see Chat Widget APIs.