React reference
Using the hotglue widget with React
This section is a reference for all steps involved with using the hotglue widget after installing the widget using the @hotglue/widget package.
The React reference has three sections:
HotglueConfig
HotglueConfig
is a higher order component that must be included in order for the @hotglue/widget
package to function correctly.
useHotglue
The useHotglue
is the primary way of using the @hotglue/widget
package outside of the inline Connections
component. Use this to launch the widget and access utility functions.
Connections
The Connections React component is an inline version of the hotglue widget. Rather than including the widget as a modal (dialog) in your web-app, the Connections component allows for a more native experience.
Updated about 2 months ago