Tiago FreitasT
Convex Community14mo ago
37 replies
Tiago Freitas

CRDT for text editors

@ian what was the reason to choose automerge vs Yjs?

I currently use Yjs to sync a react flow nested tree structure, where each node has a lot of data including many text editor blocks (currently using blocknote based on tiptap+prosemirror).
But the Yjs sync with the react state manager became too complex and slow, and wanted to switch to convex for everything except the text editors to handle merges / conflicts better. And blocknote is not good for nested schemas (I want nested custom block types, some react RSC) so I need to switch to pure prosemirror or another CRDT text editor.

Do you recommend switching to automerge, or is Yjs equaly good? Prosemirror OT with pure convex may be too slow without a proper CRDT.
I still need to use a production Yjs or automerge server like partykit even if I use convex as the persistence storage right?


@RJ and @ampp can you also chime in since you worked on similar things?

Thanks!
Was this page helpful?