6 ms·
pretty sure JSX can be work into the ES standard. As E4X was part of JS before 2014.
by vmfunction 3y ago
pretty sure JSX can be work into the ES standard. As E4X was part of JS before 2014.
- timw4mail 3y agoIt would be a mess, as JSX is syntax that calls to a specific library function. There would likely need to be some new kind of syntax delimiter for it to be a native feature. E4X-style would conflict with JSX-type syntax.
- vmfunction 3y agofor sure not suggesting using E4X as it is, JSX has evolved a lot from E4X. For example, as small implementation such as https://nanojsx.io https://nanojsx.io would be a good start.