How we built collaborative editing in EmDash
EmDash 1.5 lets several people edit one entry at the same time. Here's how we built it, from the room on the server that saves everyone's edits to the tests that make sure merges don't delete anything.
Why it matters: Deep engineering breakdown of EmDash's CRDT/room-based real-time co-editing architecture and conflict-free merge test suite.