News for hackers. Stuff that matters.
Re:Show HN: SyncedStore CRDT – build multiplayer collaborati... by BiteCode_dev on Wednesday December 08, 2021 @11:26AM (#29486716)
How does the y-websocket handles network failure ?

Does it autoreconnet? On reconnection, does it sync back changes that happened on or since failure ? Can you notify the user when it's happening ?

Re:Show HN: SyncedStore CRDT – build multiplayer collaborati... by kevinjahns on Wednesday December 08, 2021 @12:52PM (#29487993)
Yjs author here. On network failure, the client will automatically reconnect and synchronize with the backend. And yes, you can get an event that notifies you about the current connection status. When syncing with the server, you will only exchange the differences that were created while offline.
Re:Show HN: SyncedStore CRDT – build multiplayer collaborati... by BiteCode_dev on Wednesday December 08, 2021 @02:20PM (#29489121)
Thank you, that's an awesome answer in so many ways.