-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
First of all, thank you so much for sharing this! Incredible work.
FYI, I found it helpful to add this.on('error', this.onDisconnect); to the constructor. Without it, I was running into issues reconnecting after closing/reopening webpages.
I also had to change removeSelfFromAwarenessOnUnload to handle some errors disconnecting.
removeSelfFromAwarenessOnUnload = () => {
awarenessProtocol.removeAwarenessStates(this.awareness, [this.doc.clientID], 'window unload');
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels