Frontend SDK
/
Advanced Usage (Store)

Advanced Usage: Creating a Chat Store

For more control or for using the SDK without framework-specific bindings, you can create a reactive store directly using createChatStore.

Creating a Store

You can define a global store instance that can be imported anywhere in your application.

Using the Store

The store is a Nano Stores instance. You can subscribe to changes or use it directly.

Built with

Show your support! Star us on GitHub ⭐️