Skip to main content
Every first-party adapter follows the same pattern. If your framework isn’t listed, you can build an adapter in 20-40 lines.

The Pattern

Example: Preact 10.x

Preact exposes useSyncExternalStore via preact/compat — the same API React uses. The adapter is nearly identical to the React one.

Example: Lit 3.x

Lit uses ReactiveController to encapsulate reusable logic that hooks into a component’s update cycle. The controller subscribes to the engine and calls host.requestUpdate() when state changes.

Checklist

How Our First-Party Adapters Map

Each adapter is 30-80 lines. The source is at src/react, src/vue, src/svelte, src/solid, src/angular, and src/jquery.
Built an adapter for a framework we don’t support? Let us know — we’ll link to it from the docs.