Skip to content

RolesStore

The RolesStore is a typescript class that contains async signals, which you can watch to get reactive updates in your elements.

js
import { RolesStore, RolesClient } from "@darksoil-studio/roles-zome";
const store = new RolesStore(new RolesClient(appClient, 'my-role-name'));

Learn how to setup the AppClient object here.

Learn more about the stores and how to integrate them in different frameworks here.