Mozilla blocked HTML Imports favoring "All-in-JS" approaches. Said "when ES6 modules land, we'll maybe think differently about HTML imports"
-
-
Replying to @davatron5000 @davidwalshblog and
The relevant posts: 1. https://hacks.mozilla.org/2014/12/mozilla-and-web-components/ … 2. https://lists.w3.org/Archives/Public/public-webapps/2014OctDec/0613.html …pic.twitter.com/akU5b76kAB
2 replies 1 retweet 10 likes -
Replying to @simevidas @davatron5000 and
There is also still hope for a declarative no-js syntax with "html modules" built on top of es module semantics.
2 replies 0 retweets 0 likes -
Replying to @wanderview @simevidas and
ES Module semantics are not obviously correct here. A missing loaded that unifies both, but no traction from moz on designing it.
1 reply 0 retweets 2 likes -
Replying to @slightlylate @wanderview and
Will native ES Modules allow any kind of "loaders" so you could do something like import html from './foo.htm!text' ?
1 reply 0 retweets 0 likes -
-
Replying to @slightlylate @wanderview and
Critical path? Like the people alluded to in those comments, I'm just trying to figure out where html imports were useful. I'd assume for 1/
1 reply 0 retweets 0 likes -
Replying to @AdamRackis @slightlylate and
I'd assume they'd be needed if some JS module was unable to also load an html dependency using ESM?
1 reply 0 retweets 0 likes -
Replying to @AdamRackis @slightlylate and
Maybe they were just marketed badly, but the html import demos I saw were kind of a joke. Basically import some html file that also had a 1/
1 reply 0 retweets 0 likes -
Replying to @AdamRackis @slightlylate and
script tag, which manually did whatever work you needed. Honestly not sure what the upside was there, versus using webpack and bundling
2 replies 0 retweets 0 likes
Read that statement back to yourself; now imagine not needing all those tools.
-
-
Replying to @slightlylate @AdamRackis and
Allllleexxx let's not pretend there isn't downsides and performance problems from trying to ship loose esm also. Bundling is perf key.
0 replies 0 retweets 3 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Replying to @slightlylate @wanderview and
My point was, html imports provided (as far as I could tell) an _inferior_ solution to what that tool (singular) gives me.
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.