Random, rare data loss in production with y-prosemirror

@Eric Eric
Mon, 15 Dec 2025 02:28:34 +0000

The latest content is covered in multi-person collaborative scenarios

I’m using hocuspocus, yjs, and prosemirror to build my collaborative online document library. I’ve encountered a strange phenomenon: when user A and user B are simultaneously editing the same document, user A stops editing to do other things and then goes home, putting their browser to sleep. User B continues editing. The next morning, user B finds that their newly written content has been overwritten by user A’s old document content. After investigating this issue, I discovered that once the b…

maybe help