4 ms·
In general, LiveView applications are built so they can be safely reloaded without significant data loss, according to the Erlang/Elixir “Let it crash”-philosop
by mikl 3y ago
In general, LiveView applications are built so they can be safely reloaded without significant data loss, according to the Erlang/Elixir “Let it crash”-philosophy.
Besides scheduled maintenance, there’s all sorts of reasons why this might be needed: The user’s log-in expires, network issues, browser crashes, server hardware issues, deployment of a new version of your app…
“Hot upgrades” can be implemented if you wish to, but often this is just handled by asking the client to reload the page, establishing a new connection, because any data or preferences have been persisted.