Frontend SDK
/SolidJS Integration
SolidJS Integration
The SDK provides a ChatProvider component and useChat hook for SolidJS applications.
1. Install Dependencies
First, ensure you have the necessary packages:
2. Setup Provider
Wrap your application or chat component with ChatProvider:
3. Use Chat Hook
Use the useChat hook to access the store state and methods. Note that in SolidJS, the state is reactive.
Built with
Show your support! Star us on GitHub ⭐️