News for hackers. Stuff that matters.
Re:Server-Side Rendering Is a Thiel Truth by karmakaze on Wednesday April 29, 2020 @01:49PM (#23022038)
Even for small projects, I would choose Vue client-side rendering over back-end rendering. I'm a back-end dev so I don't do it because I love front-end work, I just haven't found a better way to do it. I can update the back-end API and front-end use on one machine and deploy both in a minute.

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.

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.