- From: Justin Fagnani <notifications@github.com>
- Date: Wed, 09 Oct 2019 13:14:46 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 9 October 2019 20:14:48 UTC
@mkay581 importing CSS is extremely common in tooling-based solutions. The DX is an obvious win, and the loading perf win is worth it too. We can't quite do the same with fetch() and top-level-await either because we'd need to fetch as a string, then parse async, and await on both steps, which is going to block dependent modules from even starting their fetch. There will be a waterfall of work up the tree that won't exist with native CSS modules. -- 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-540172118
Received on Wednesday, 9 October 2019 20:14:48 UTC