You can consider using Yjs subdocument to do this, the can load different document without reconnect the websocket. the official y-websocket did not implement subdocument by default. this repo https://github.com/RedDwarfTech/texhub-broadcast/blob/main/src/websocket/conn/socket_io_client_provider.ts implement subsocument. This is the official discuss board issue to talk about how to implement the subdocument:https://discuss.yjs.dev/t/extend-y-websocket-provider-to-support-sub-docs-synchronization-in-one-websocket-connection/1294