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
-
-
Replying to @slightlylate
So to see browser engineers take a wait-and-see on this while the community pervasively transpiles into piggy JS bundles is... 0_o
1 reply 0 retweets 4 likes -
Replying to @slightlylate
MSFT, Mozilla, and yes, Apple have a lot to answer for. This is basic, predictable stuff. The stonewalling on HTML Imports is pure
#fail.1 reply 1 retweet 5 likes -
Replying to @slightlylate
To be fair, what has Google done to push ESM loader forward? I honestly don't know, but me/Angular could have done more.
1 reply 0 retweets 0 likes -
Replying to @IgorMinar
: from a perf/parsing perspective, ESM is somewhere between distraction and no-op. Nicer than <script async>, tho
1 reply 0 retweets 0 likes -
-
Replying to @IgorMinar
: no, we've participated for the (many years long) debate. V8/Chrome has actively engaged.
3 replies 0 retweets 0 likes -
Replying to @slightlylate
HTML Imports look great on the paper when considering only one point of view but fail to be generally applicable IMO.
1 reply 0 retweets 0 likes -
Replying to @IgorMinar
: I think this reads into the situation a script-based view of the world, and that's a bug. It's what makes apps slow.
1 reply 0 retweets 0 likes -
Replying to @slightlylate
we spent 6+ months trying to make DOM based templating performant then gave up + we spent 1 day explaining to Chrome why.
1 reply 0 retweets 3 likes
: this was recently?
/cc @ElliottZ
-
-
Replying to @slightlylate @ElliottZ
it was in the summer of 2014 - when we needed to make this architectural decision.
0 replies 0 retweets 1 likeThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.