I have a client using ‘y-indexeddb’ and server using a database which updates on client changes etc.
What I’m trying to understand is what happens when a client connects to the server. Does the server send it’s entire database to the client or only
yDoc's that have changed and/or don’t exist in the clients indexeddb store.
Conversely does the client send it’s entire indexed db to the server when it starts?
If the databases are sent in one of both directions in their entirety this could be expensive in time and data use for large databases.
I have only just started with yjs but have read lots of docs and searched here on the forum and haven’t found an answer to these questions.