News for hackers. Stuff that matters.
Re:Vanilla-todo: A case study on viable techniques for vanil... by dreamcompiler on Tuesday October 27, 2020 @09:24PM (#24913987)
Completely agree. I still build websites with server-side rendering and just enough JS for Ajax, which changes innerHTML and occasionally adds an element. They are astonishingly fast, and they still function if the client has JS turned off.

I remain convinced that for 90% of websites, using React is shooting a sparrow with a cannon.

Re:Vanilla-todo: A case study on viable techniques for vanil... by morrvs on Tuesday October 27, 2020 @10:22PM (#24914351)
For what it's worth, the study was not targeting SPAs specifically. The patterns I found can very well be used to add some minimal behaviour to some HTML generated completely on the server side. I'm by no means advocating SPAs or client-side rendering for each and every use case.
Re:Vanilla-todo: A case study on viable techniques for vanil... by dreamcompiler on Tuesday October 27, 2020 @11:43PM (#24914900)
Understood. I do appreciate the effort you put into this and the fact that you built it from scratch. FWIW your example has convinced me to explore client-side rendering now that I know it doesn't require a monster library.