yjs / y-websocket

Websocket Connector for Yjs
https://docs.yjs.dev/ecosystem/connection-provider/y-websocket
MIT License
526 stars 263 forks source link

Missing doc data binding when refreshing the page #162

Closed pingfangxiaogege closed 12 months ago

pingfangxiaogege commented 12 months ago

When there are client A and client B, client B performs editing operations on the client A refresh page. After the client A page is refreshed, the doc of client A does not hear any data changes, but the received data can be seen in the websocket connection。 If client B does not perform editing operations when client A refreshes the page, then everything is correct image

Note: The backend websocket service is implemented in Java