News for hackers. Stuff that matters.
Re:A little bit of plain JavaScript can do a lot by triceratops on Sunday June 21, 2020 @05:03AM (#23590824)
> reaching for React/Fluttr/Angular/frontend-framework-de-jour when all you need is to show and hide divs and maybe do css or scroll animations between them is, in my mind, an equally bad decision.

Do people really do that? To me, that reflects bad frontend engineering practice. Even so for something like that, I'd use jQuery or something similar, because it's a much nicer API than the DOM.

Re:A little bit of plain JavaScript can do a lot by dgb23 on Sunday June 21, 2020 @02:32PM (#23594122)
How do you generate html in the first place? With React you have the same UI logic in one uniform framework. Whether you render statically, on request or in the client doesn’t split up your code. Everything plays together nicely. You get sensible editor support with linting and static analysis and more comprehensive error messages.
Re:A little bit of plain JavaScript can do a lot by adrianhel on Sunday June 21, 2020 @04:30PM (#23595147)
Why bother with jQuery? I don't see the value add anymore.
Re:A little bit of plain JavaScript can do a lot by tambourine_man on Sunday June 21, 2020 @05:01PM (#23595366)
Read this whole thread. People are rewriting it over and over again because it’s out of fashion.