Private documents?


I’m just starting to explore Yjs and it seems great. I was wondering how private application state is normally handled (e.g. draft notes). Would one keep a separate document for that, and build the application state out of two separate documents? Any other thoughts on this?


Either separate documents or subdocuments. If you hack together your own provider I think you can do more granular syncing and even subdocument-level edit permissions.

1 Like