- Link URL
- https://github.com/yjs/yjs
Yjs
The CRDT library every page here is made of. The server holds the same structures in Rust, so a browser and a Nitro process can edit the same document without either one being special.
The documentation on shared types is the part worth your afternoon β Y.Map for the tree, Y.XmlFragment for prose. Once those two click, the rest of this site stops looking like a framework and starts looking like two data structures with a website attached.