Re: [w3c/webcomponents] HTML, CSS, and JSON modules shouldn't solely rely on MIME type to change parsing behavior (#839)

> Top-level await is absolutely not a replacement for CSS and HTML modules.

Don't worry, I wasn't suggesting that it was. Just for JSON resources.

> TLA is dangerous enough that there is movement to ban them in ServiceWorker context, and I would expect linters and build tools to offer mode to ban them in regular modules as well.

That's because ServiceWorker stops registering listeners after the first tick, not because TLA is inherently evil.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/839#issuecomment-555576384

Received on Tuesday, 19 November 2019 16:04:33 UTC