News for hackers. Stuff that matters.
Re:I fell in love with low-JS by spion on Wednesday May 04, 2022 @10:18PM (#31268589)
I always felt the opposite was odd. Server side rendering felt like an odd hack due to the limitations of the platform. Imagine all you had was a PDF reader - then it would make sense to construct an application by building PDF files which contain links to other PDF files. But otherwise, why not write an actual client program that maintains its own UI state and have the server take care of what it does best - provide the data?

Would you build a CLI (ncurses style or otherwise) application by fetching the TTY codes to render the current screen from a server for most user interactions?

Re:I fell in love with low-JS by kitsunesoba on Wednesday May 04, 2022 @10:24PM (#31268623)
That makes sense when the client is always a known quantity, but such is not the case with the web. While you can get an idea of what the majority of your target audience is running, there's always going to be some percentage that will be left out when writing client code for the majority browser only. There's always going to be client situations that you can't predict much less write for, and in those cases more server-heavy solutions tend to do better.
Re:I fell in love with low-JS by lolinder on Thursday May 05, 2022 @12:45AM (#31269574)
Is a traditional desktop client really a better-known quantity than a web browser these days?