iohnS
1
I have made a post on stackoverflow to hopefully get some help. Please go in there and check for more details. I have the same problem as discussed in this issue: Disconnects and reconnects every 30 seconds · Issue #24 · yjs/y-websocket (github.com)
But it should be fixed in version 1.3.8. so not sure why I still have it. Have tried to revert to previous version with no luck.
Link to Stackoverflow post.
Thanks in advance.
raine
2
I suspect it is because the WebsocketProvider disconnects if it has not received a message from the server for 30 seconds.
1 Like
iohnS
3
Thanks for the reply. I did not test this in time but it somehow worked by putting it in a syncedStore and useState.
1 Like