News for hackers. Stuff that matters.
Re:js;dr = JavaScript required; Didn’t Read. by mixmastamyk on Sunday January 17, 2021 @03:20PM (#25814537)
It’s almost as if you should pick the right tool for the job. ;-)
Re:js;dr = JavaScript required; Didn’t Read. by nicbou on Sunday January 17, 2021 @03:27PM (#25814604)
We all agree on that. I just suspect that Hacker News only knows about two jobs: massively distributed applications and their static blog.

In the middle, you have countless SPAs, but also slightly interactive websites that are 90% content, and 10% calculators/maps/widgets.

Re:js;dr = JavaScript required; Didn’t Read. by ehutch79 on Sunday January 17, 2021 @04:01PM (#25814916)
It's not like those widgets need a full routing system with ssr, etc. Even with vue, you can just drop that component on the page.
Re:js;dr = JavaScript required; Didn’t Read. by RussianCow on Sunday January 17, 2021 @04:13PM (#25815014)
But add enough of those widgets to a page, and now you need to coordinate local state, sync it with the URL, etc, which is way easier to do when the whole page is a SPA.
Re:js;dr = JavaScript required; Didn’t Read. by ehutch79 on Sunday January 17, 2021 @04:24PM (#25815104)
But at that point your site is more an application than content
Re:js;dr = JavaScript required; Didn’t Read. by RussianCow on Tuesday January 19, 2021 @12:28PM (#25835948)
It's not always so cut and dry; some content websites are very interactive.
Re:js;dr = JavaScript required; Didn’t Read. by kyawzazaw on Sunday January 17, 2021 @03:37PM (#25814689)
feel so true