4 ms·
> Never understood why people liked React so much. I don't know why, but mixing javascript and HTML just looks... gross. But you never write HTML with JSX, tha
by aikah 11y ago
> Never understood why people liked React so much. I don't know why, but mixing javascript and HTML just looks... gross.
But you never write HTML with JSX, that's the point. XML like syntax is just sugar that gets transformed into functions. This is not HTML. With angular you need to use string templates which cannot be easily validated by IDEs for instance. JSX syntax validation is straight forward because it's directly integrated in the language.