Why? I don't get the difference between a react component with inline HTML/CSS and a web components
-
-
Replying to @mlcdf @slightlylate and
(Serious question here, I'm genuinely interested)
1 reply 0 retweets 0 likes -
With HTML imports, the HTML & CSS can be parsed without executing JavaScript first.
2 replies 1 retweet 4 likes -
Replying to @jaffathecake @mlcdf and
right, but that's not actually a thing right now so... what for now?
2 replies 0 retweets 2 likes -
Replying to @briankardell @jaffathecake and
Use imports where available? You at least don't take the huge hit for purity reasons.
1 reply 0 retweets 0 likes -
Replying to @slightlylate @jaffathecake and
is there a semi-trivial way to do this that someone has demonstrated?
1 reply 0 retweets 0 likes -
Replying to @briankardell @jaffathecake and
Polymer does it? Other tools will need compiler love.
1 reply 0 retweets 0 likes -
Replying to @slightlylate @jaffathecake and
Last I looked though (admittedly long ago) this would place everyone but chrome down an even worse path wrt more mem/runtime costs
2 replies 0 retweets 0 likes -
Replying to @briankardell @jaffathecake and
no more than they're already paying. And if they can server-generate this, can inline w/ <template>
1 reply 0 retweets 0 likes -
Replying to @slightlylate @jaffathecake and
we're talking about this as the alternative codepath for everyone else, right? https://github.com/webcomponents/html-imports/blob/master/src/html-imports.js … opposed to js strings?
2 replies 0 retweets 0 likes
An alternative path, yes. Monumentally frustrating that people keep framing this as being in *oppositon* to imports, tho. Shortsighted.
-
-
Replying to @slightlylate @jaffathecake and1 reply 0 retweets 1 like
- 5 more replies
New conversation -
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.