Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E4X: ECMAScript for XML #5929

Open
TomasHubelbauer opened this issue Jun 2, 2021 · 3 comments
Open

E4X: ECMAScript for XML #5929

TomasHubelbauer opened this issue Jun 2, 2021 · 3 comments

Comments

@TomasHubelbauer
Copy link

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.

@TomasHubelbauer
Copy link
Author

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...

@Fyrd
Copy link
Owner

Fyrd commented Jun 4, 2021

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.

@TomasHubelbauer
Copy link
Author

TomasHubelbauer commented Jun 4, 2021

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. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants