Our great sponsors
-
automerge
A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically.
-
liveblocks
Liveblocks is a platform to ship collaborative features like comments, notifications, text editors in minutes instead of months.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
You should look at CRDT. I just saw this a few days ago: https://liveblocks.io
I think you might be looking for a CRDT implementation. Yjs is a popular one: https://github.com/yjs/yjs
This is called Operational Transformation, and there are a few libraries to help with it. One that looks fairly mature is https://github.com/share/sharedb