Open TomasHubelbauer opened 3 years ago
BTW why was I even looking this up in the first place: imagine if this was being supported and we could have JSX (or close to JSX) syntax without bundlers! One can dream...
I think template literals already provides a lot of the magic JSX does... the Lit library in particular makes use of these for near-JSX-like syntax. Given that I'm not sure browsers will be interested in returning to ES for XML support.
I'm not saying I expect browsers would. Just that I think this obsolete feature would be nice to show in CIU. You're right about available libraries, my day dream was specifically about native support though. 🙂
https://en.wikipedia.org/wiki/ECMAScript_for_XML
This just surfaced on HN which reminded me that the last time I was looking into this, I was struggling to find any support data. There used to be an MDN page for this which I can't find anymore. The https://en.wikipedia.org/wiki/ECMAScript_for_XML#Browser_support chapter on wiki details current support: no support.
This is an ancient feature, deprecated completely. I am not sure if others will feel like this should be in CanIUse, but my first instinct was to go look for this there, hence this issue.