I’ve worked on so many projects recently that were more complicated than they needed to be because they used JavaScript to generate HTML.
JavaScript is… Slower to load Slower to run More prone to breaking Harder to read and reason about Doesn’t actually look like the final output It’s inferior to just using HTML in nearly every way.
I’m not saying never use JavaScript, though. I think JS is great at augmenting and enhancing what’s already there, and adding interactivity that cannot (yet) but handled with HTML.
After we finally got really good JavaScript support, it’s not entirely surprising that everyone went crazy with JavaScript. So it makes sense that now we start stepping back and reevaluate what genuinely needs to be JavaScript and what doesn’t. Especially now that HTML support has gotten so much better too.