4 ms·
> These templates may look declarative because the look HTML-ish but they are not Yes! Precisely. How many of these "regular old HTML"s I've seen and even used
by linkmotif 9y ago
> These templates may look declarative because the look HTML-ish but they are not
Yes! Precisely. How many of these "regular old HTML"s I've seen and even used. Each with their own looping constructs, their own if/then constructs. The benefit, honestly, was lost on me then and is still lost on me.
React is not perfect. JavaScript is horrible. But pretend "HTML" templates are so much worse for all the reasons you describe.
I still suspect there must be something to Vue, though. So many people like it. Many of them have tried React, so I'm sure it's not like they're all ignorant to the glory of JS-based rendering. I wonder what it is.