Closed crgimenes closed 11 months ago
Apparently when the browser window is not in focus after a few moments the connection to the websocket is lost.
We have to prevent this behavior or try to mitigate the problem by reconnecting when focus resumes.
window.addEventListener("focus", () => socket.connect());
fixed on v0.0.1
Apparently when the browser window is not in focus after a few moments the connection to the websocket is lost.
We have to prevent this behavior or try to mitigate the problem by reconnecting when focus resumes.