DRAFTThis page is not published. Only visible in development mode.
Clients

TypeScript / JavaScript

Connect to a ReifyDB server from Node.js or the browser with @reifydb/client.

Connecting

Connect over WebSocket or HTTP:

typescript
import { Client } from '@reifydb/client';

const client = await Client.connect_ws('ws://localhost:8091');
const frames = await client.query('from app::users');

This section will cover both transports, JSON versus binary encodings, and reconnect behavior.

React hooks

@reifydb/react provides hooks for queries and live results. This section will document them with a small component example.

In-browser WASM

@reifydb/wasm runs the whole engine in the browser; it is what powers the runnable snippets in these docs. This section will cover when that is the right tool.