11 ms·
The main difference is that JSX is natively supported by the majority of modern tools while this is a plain string that needs extra plugins everywhere. Reading
by mumblerino 6y ago
The main difference is that JSX is natively supported by the majority of modern tools while this is a plain string that needs extra plugins everywhere.
Reading the "Improvements over JSX" [1] I don't see anything that makes it worth the hassle (unless you really hate transpilers/tools). Most of them are outdated or not actual "Improvements".
[1]: https://github.com/developit/htm#improvements-over-jsx