Hi,
Is it possible to prevent loading the latest state with y-quill/y-websocket when reloading the page?
I’d like to load the initial state myself, letting y-quill/y-websocket only handle the sync between clients, as long as they’re online.
Hi,
Is it possible to prevent loading the latest state with y-quill/y-websocket when reloading the page?
I’d like to load the initial state myself, letting y-quill/y-websocket only handle the sync between clients, as long as they’re online.
Hi @teejteej,
You can set the initial state. But you can do it only once.
If you set the initial state on the client-side several times, the clients won’t be able to synchronize changes.
If you want to set the initial state when the shared document is created initially, I recommend doing that in the y-websocket-server.