News for hackers. Stuff that matters.
Re:Clojure: Realtime collaborative web apps without ClojureS... by sooheon on Friday April 11, 2025 @01:18AM (#43650720)
To clarify, dealing with spotty connection / offline mode is not possible with this kind of approach?
Re:Clojure: Realtime collaborative web apps without ClojureS... by andriusbartulis on Friday April 11, 2025 @04:25AM (#43651573)
Offline mode - not possible.

Spotty connection - no problem, SSE reconnects.

Re:Clojure: Realtime collaborative web apps without ClojureS... by realharo on Friday April 11, 2025 @11:12AM (#43654721)
Reconnects eventually when things time out, but in the meantime, there will be a lot of frustrated waiting.
Re:Clojure: Realtime collaborative web apps without ClojureS... by andersmurphy on Friday April 11, 2025 @11:35AM (#43655055)
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.
Re:Clojure: Realtime collaborative web apps without ClojureS... by andersmurphy on Friday April 11, 2025 @04:59AM (#43651824)
Also because of the compression being used the game runs fine on 3G connections.