Server-Side Mobile App with Live View

https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html#module-js-interop-and-client-controlled-dom

Desktop app:

The reason full-page refreshes often feel slow is not so much because the browser has to process a bunch of HTML sent from a server. Browsers are really good and really fast at that. And in most cases, the fact that an HTML payload tends to be larger than a JSON payload doesn’t matter either (especially with gzipping). No, the reason is that CSS and JavaScript has to be reinitialized and reapplied to the page again. Regardless of whether the files themselves are cached. This can be pretty slow if you have a fair amount of CSS and JavaScript. https://stimulusjs.org/handbook/origin

The logic that "Webview" is terrible isn't the way desktop apps are thought about πŸ€”πŸ’­

Its fine to have an Electron app, but as soon as you make a web view on Mobile, it "sucks". Bit of a double standard eh?

Links: