Skip to content

How-to Guides

Short, task-focused recipes. Each guide solves one concrete job with a minimal snippet taken from a real example app, and assumes you already have an app skeleton building — if you don’t, start with the Quickstart.

I want to… Guide
Pick the right CRDT collection and read/write it Model your data
Notify clients (or other methods) that something changed Emit and handle events
Invoke a method on another context Call another context
Store a large binary and share it with peers Store and share a blob
Find entries by the words in them without scanning in WASM Search your app’s data
Restrict who can write to a piece of state Access-controlled storage
Make permissions hold against a member running patched code, and avoid the common mistakes Securing app state, right and wrong
Let several people edit one text or document at once Build a collaborative editor