Yjs Fundamentals - Part 1: Theory | by Dovetail Engineering | Dovetail Engineering | Medium
Dovetail uses Yjs to create a real-time collaborative editing experience for our View and Canvas features. It’s a complex technology and there’s no one-stop guide to understand how it works — to understand it myself I had to read the docs, academic articles, and source code to put together a mental model. I’m writing this guide to help everyone else build their mental model with less effort. After reading this series you should be better able to make performance improvements and debug issues with your Yjs implementation. This post will focus on internal Yjs theory and concepts. It’s super robust and fast. It allows collaborators to make conflicting edits, even offline, and always brings each collaborator’s view of the document back into sync, while preserving each collaborator’s intention. It can do this no matter what order edits are received, even if the same edit is accidentally received multiple times. It blows alternative CRDT technologies out of the water in terms of robustness a
Dovetail uses Yjs to create a real-time collaborative editing experience for our View and Canvas features. It’s a complex technology and there’s no one-stop guide to understand how it works — to understand it myself I had to read the docs, academic articles, and source code to put together a mental model. I’m writing this guide to help everyone else build their mental model with less effort. After reading this series you should be better able to make performance improvements and debug issues with your Yjs implementation. This post will focus on internal Yjs theory and concepts. It’s super robu
Explore this link on the map →