Re:Server-Side Rendering Is a Thiel Truth
by dnautics on Wednesday April 29, 2020 @03:17PM
(#23022995)
I think the other thing to worry about with live updating is client interaction security footprint. In most platforms you better be damn sure that your client rerendering code is bulletproof, because if an adversary finds an input permutation that hogs CPU or worse, panics your backend you'll really be up the creek, though Phoenix/liveview can take advantage of erlang process isolation in a way that it's way less of a concern.
Sometimes all the work is client-side with third-party services as back-ends.
The only other solution I like is to have server-side rendering with live updates like Phoenix/Elixir, Vaadin/Java, or Rails/Ruby. These have scaling limitations but probably beyond what most of our apps need to support.