Offline, Peer-to-Peer, Collaborative Editing using Yjs

It looks as if replacing the entire doc at once when syncing changes is a bit of a deal breaker in many contexts, especially for large documents and when you have to track positions or create lots of decorations. Has anyone been able to do an approach that utilizes a diff or some other mechanism to do smaller, more targeted updates?

As you guys stated, an identity based approach seems optimal but I’d have to dig into the bindings more.

5 Likes