DEFINITION

Yjs

Yjs CRDT Library

Definition

A high-performance CRDT library by Kevin Jahns that handles concurrent edits without conflicts. Yjs merges changes from multiple users in real-time and works with any structured data, not just text. It powers real-time collaboration in editors like Tiptap, Slate, Quill, Monaco, and ProseMirror.

Examples in the Wild

  • Example 1:Merging concurrent edits in collaborative text editors
  • Example 2:Syncing structured data across multiple clients
  • Example 3:Real-time collaboration without manual conflict resolution
  • Example 4:Powering Hocuspocus collaboration backend