jsonkao / jasons-cms

A collaborative editor for stories that are both written and coded
https://jasons-cms.vercel.app
0 stars 0 forks source link

A database #4

Closed jsonkao closed 6 months ago

jsonkao commented 6 months ago

When saving YJS docs, create a new instance and populate it with the same XML text nodes, rather than using the original YJS doc.

But... what if a new client connects right after the original doc is overwritten? Or right before?

jsonkao commented 6 months ago

Closed with https://github.com/jsonkao/us-cms/commit/0df15653a82a77569ef622433bfe42fbb28c5bbd