Mastodon Feed: Post

Mastodon Feed

baldur@toot.cafe ("Baldur Bjarnason") wrote:

I semi-regularly check whether any of the browsers have shifted on supporting ES modules in SVG or XHTML and year after year the answer is still the same: the only browser that supports it without hacks is Firefox.

https://caniuse.com/?search=script%3A+type%3A+module

The sad part is that I think XML might have useful answers for a few of the needs of modern web dev but we're probably never going to find out because we can't even test modern module-based JS in it.