zelphirkalt 9 hours ago

No matter how one turns it, JSX is still something different from plain JS. It is a kind of format, that needs to be parsed and interpreted. Writing only plain JS from that perspective is a purer approach than having JSX anywhere.

2
WorldMaker 9 hours ago

There's no embedded interpretation in JSX, it's a direct "sugar" for a function call pattern. If you are already using Typescript, it's a "free" syntax sugar that Typescript supports well.

It's less pure in that it doesn't run directly in the browser today, but it is also way more pure than the template compilers in Angular and Vue and others.

robertlagrant 8 hours ago

> It is a kind of format, that needs to be parsed and interpreted

Yes, but this happens at build time, not run time.