← All plugins
Local Sync (Yjs)
y‑indexeddb offline‑first persistence.
pnpm add @edv4h/usketch-plugin-sync-localstorage-yjs Overview
Local Sync (Yjs) is part of the uSketch first-party plugin set. Install it alongside your uSketch app and it self-registers on startup.
Usage
import { createApp } from "@edv4h/usketch-core";
import { SyncLocalstorageYjsPlugin } from "@edv4h/usketch-plugin-sync-localstorage-yjs";
const app = createApp({
plugins: [
SyncLocalstorageYjsPlugin,
],
});