linkedlist:

"JSX is just JavaScript" – No.

#39 · (updated 2021-07-16) · JSX, JavaScript, template, HTML, CSS

When discussing differences between JSX and markup-based template engines like the ones used with Angular/Vue.js/Svelte/others, one argument almost always comes up: "JSX is just JavaScript". People claim that you have to learn markup-based template systems while JSX is just JavaScript. Well, not quite. Both JSX and markup-based templates have to be learned first. JSX is not "just JavaScript". Is has several rules that are different from JavaScript, or HTML, or CSS. This is an incomplete list of these differences.

Sure, these rules can be learned quickly. But the same applies to most markup-based template engines. JSX is not "just JavaScript".