NotificationsStore
The NotificationsStore is a typescript class that contains signals, to which you can subscribe to get reactive updates in your elements.
js
import { NotificationsStore, NotificationsClient, NotificationsConfig } from "@darksoil-studio/notifications-zome";
const config: NotificationsConfig = {
// TODO: fill this
};
const store = new NotificationsStore(new NotificationsClient(appClient, 'my-role-name'), config);Learn how to setup the
AppClientobject here.
Learn more about the stores and how to integrate them in different frameworks here.