"Waiting for ES6 modules" is perhaps the worst (of many available) reasons to not engage on HTML Imports, @webkit. Weak sauce.https://twitter.com/addyosmani/status/791651003992985600 …
Chrome Project
& Web Standards TL; Blink API OWNER
Named PWAs w/ @phae; probably making her
DMs open. Tweets my own; press@google.com for official comms.
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
Add this Tweet to your website by copying the code below. Learn more
Add this video to your website by copying the code below. Learn more
By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.
| Country | Code | For customers of |
|---|---|---|
| United States | 40404 | (any) |
| Canada | 21212 | (any) |
| United Kingdom | 86444 | Vodafone, Orange, 3, O2 |
| Brazil | 40404 | Nextel, TIM |
| Haiti | 40404 | Digicel, Voila |
| Ireland | 51210 | Vodafone, O2 |
| India | 53000 | Bharti Airtel, Videocon, Reliance |
| Indonesia | 89887 | AXIS, 3, Telkomsel, Indosat, XL Axiata |
| Italy | 4880804 | Wind |
| 3424486444 | Vodafone | |
| » See SMS short codes for other countries | ||
This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.
Hover over the profile pic and click the Following button to unfollow any account.
When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.
The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.
Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.
Get instant insight into what people are talking about now.
Follow more accounts to get instant updates about topics you care about.
See the latest conversations about any topic instantly.
Catch up instantly on the best stories happening as they unfold.
Alex Russell Retweeted Addy Osmani
"Waiting for ES6 modules" is perhaps the worst (of many available) reasons to not engage on HTML Imports, @webkit. Weak sauce.https://twitter.com/addyosmani/status/791651003992985600 …
Alex Russell added,
For those not following, HTML Imports are a key enabler of the perf wins that the PRPL pattern delivers; see: https://www.youtube.com/watch?v=J4i0xJnQUzU …
To do any sort of real inlining of ES6 modules, you either need to bundle them into your document, or you need...wait for it...HTML Imports!
This is because ES6/ES.next don't have an anonymous module concept (to my great frustration).
SO, choices today: - ES6 modules & compile to mega-binary (== bad load perf) - Use HTML Imports (Chrome) & polyfill - Old Skool Loading
Of these, only the second gets you out of the JS parser and allows pre-parsing of resources (CSS, etc.). The others embed stuff in JS
And just so we're suuuuuuuuuper clear: embedding your HTML/CSS/templates in your script is SLOW. Not a little slow, SUPER slow. Piggy, even
So to see browser engineers take a wait-and-see on this while the community pervasively transpiles into piggy JS bundles is... 0_o
MSFT, Mozilla, and yes, Apple have a lot to answer for. This is basic, predictable stuff. The stonewalling on HTML Imports is pure #fail.
To be fair, what has Google done to push ESM loader forward? I honestly don't know, but me/Angular could have done more.
: from a perf/parsing perspective, ESM is somewhere between distraction and no-op. Nicer than <script async>, tho
: no, we've participated for the (many years long) debate. V8/Chrome has actively engaged.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.