You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Real-time Shared Editing using Yjs: New Frontend Design #1573
We're migrating to using a new CRDT-based library for shared editing, yjs.
Under the hood it requires us to change our frontend architecture and design patterns.
Before our frontend architecture heavily relies on WorkflowActionService and the command pattern, but was not considering conflict resolution so a lock had to be used:
Also this design essentially treats the data and view as equally important.
The new design looks like this:
This design lets data be the single source of control.
The dev is still ongoing. See TODOs which can be found in related project.
changed the title [-]Real-time Shared Editing using Yjs: New frontend design[/-][+]Real-time Shared Editing using Yjs: New Frontend Design[/+]on Jul 6, 2022
Activity
[-]Real-time Shared Editing using Yjs: New frontend design[/-][+]Real-time Shared Editing using Yjs: New Frontend Design[/+]Yjs-based Shared Editing [1/4] Change Unnecessary Event Stream APIs i…
Yjs-based Shared Editing [1/4] Change Unnecessary Event Stream APIs i…