Think in Streams

Why imperative update code drowns in its own cases and streams don't — Rx, live queries and views that are never stale.

Reconnecting…
The connection to the server was interrupted. Trying to restore it…
Trying again…
The connection could not be restored. Reloading the page…
The server was updated. Reloading the page to pick up the latest version.