News for hackers. Stuff that matters.
Re:In Defense of the Modern Web by zeugmasyllepsis on Friday May 15, 2020 @12:45PM (#23194253)
> .. in favor of targeted JS libraries that extend HTML capabilities.

Do you mean libraries like Turbolinks[1] and/or Intercooler[2] here? I'm interested in what libraries you use, and others like these which help "bridge the gap" between traditional and single-page sites.

[1] https://github.com/turbolinks/turbolinks [2] https://intercoolerjs.org/

Re:In Defense of the Modern Web by gambler on Friday May 15, 2020 @03:57PM (#23196691)
Yes, those are some of the examples. You can roll your own as well. With modern JS and CSS selectors you can create useful, reusable libraries with just several dozen lines of straightforward code.
Re:In Defense of the Modern Web by gunnarmorling on Saturday May 16, 2020 @05:11AM (#23201794)
Unpoly [1] is another one in that camp. Made good experiences with to smoothen page transitions in a server-side rendered app [2]. I find this model much more approachable for backend devs than going all-in on SPA. It doesn't help of course with more fine-grained interactions like say in-place editing in a table.

[1] https://unpoly.com/ [2] https://www.morling.dev/blog/quarkus-qute-test-ride/

Re:In Defense of the Modern Web by bradstewart on Friday May 15, 2020 @01:22PM (#23194744)
Turbolinks and Stimulus are two tools I find quite useful. Yes, I like Rails and the way Rails does things.