Kizaki
ReferenceTypeScript

@kizaki/sdk/browser

The browser-safe query surface for building typed read models and live-query subscriptions in the frontend.

Import Surface

import { createBrowserClient, select } from "@kizaki/sdk/browser";

Use this package for browser query objects, filtering, and direct live-query subscriptions.

What It Is Not For

@kizaki/sdk/browser is not the main browser mutation surface. Use the generated client for workflows and writes unless you specifically need a lower-level read-model API.

Example

const client = createBrowserClient();
const subscription = client.subscribe(select(Project), (state) => {
  console.log(state.rows);
});

This package is best thought of as the browser read-model layer.

Related guide: Realtime

On this page