←back to thread

170 points bko | 2 comments | | HN request time: 0s | source
Show context
sooheon ◴[] No.43650720[source]
To clarify, dealing with spotty connection / offline mode is not possible with this kind of approach?
replies(2): >>43651573 #>>43651824 #
andriusbartulis ◴[] No.43651573[source]
Offline mode - not possible.

Spotty connection - no problem, SSE reconnects.

replies(1): >>43654721 #
1. realharo ◴[] No.43654721[source]
Reconnects eventually when things time out, but in the meantime, there will be a lot of frustrated waiting.
replies(1): >>43655055 #
2. andersmurphy ◴[] No.43655055[source]
In my experience it reconnects faster and more reliably than web sockets. Also nothing is stopping you telling the user the connection is down/retrying etc.