Most of these mistakes are programming mistakes. You’d be in trouble doing the && shortcut in a lot of places.
And second, not at all. E4X existed in the 2000s and was widely implemented in Firefox (then the biggest modern browser) and Flash (the other de facto runtime). E4X let you embed XML directly in JS and you basically were able to build React-style templating without the preprocesor that React requires.
So basically the world has been working on something like React for 2 decades. React just is so far the best version of SGML in code.
And second, not at all. E4X existed in the 2000s and was widely implemented in Firefox (then the biggest modern browser) and Flash (the other de facto runtime). E4X let you embed XML directly in JS and you basically were able to build React-style templating without the preprocesor that React requires.
So basically the world has been working on something like React for 2 decades. React just is so far the best version of SGML in code.