One large Y.Doc or many smaller Y.Doc?

Our sub-doc is built on the code from Extend y-websocket provider to support sub docs synchronization in one websocket connection, but we did some changes and fix to fit our features, not sure your app requirements, but you can check if the yjs subdocument is enough for you https://docs.yjs.dev/api/subdocuments

1 Like