ueberdosis / hocuspocus

The CRDT Yjs WebSocket backend for conflict-free real-time collaboration in your app.
https://tiptap.dev/docs/hocuspocus/introduction
MIT License
1.19k stars 115 forks source link

feat: typed context #843

Closed jpoehnelt closed 1 month ago

jpoehnelt commented 1 month ago

This allows passing a generic to Hocuspocus:


type Context = {
foo: string;
}

const server =