They definitely work better when you control the whole site
-
-
Replying to @justinfagnani @jonkoops and
Twitter uses Shadow DOM for embedded tweets: they fall back to iframes on browsers w/o native SD so it's just slower on those browsers.
1 reply 0 retweets 4 likes -
Yeah, unfortunately this is the exact reason why I need it. So I guess I'll just have to wait until IE11 slides into the void.
1 reply 0 retweets 3 likes -
Is the iframe fallback not feasible? The benefit there is that you get much better perf in Chrome, Safari, Opera (and soon FF)
2 replies 0 retweets 2 likes -
Replying to @justinfagnani @jonkoops and
It's hard to operate through spa tools like react, Vue and ng over iframe. It's about more than shadow Dom.
2 replies 0 retweets 0 likes -
That would imply the widget could only be embedded in pages that use the correct framework. I doubt that's what
@jonkoops is doing1 reply 0 retweets 0 likes -
Replying to @justinfagnani @jonkoops and
I mean you face similar conditions in very large legacy web apps with some newer components. Not always 3rd party
2 replies 0 retweets 2 likes -
But hopefully if it's your own app, even legacy, the selectors are specific enough to be safe
1 reply 0 retweets 1 like -
Replying to @justinfagnani @jonkoops and
Have you worked on an app with 30+active devs and over 4yo? You'd be surprised the level of chaos that can take root in an Enterprise app
1 reply 0 retweets 0 likes -
Replying to @tracker1 @justinfagnani and
That chaos is where things like SD and the rest of Web Components come from. We have seen it all.
1 reply 0 retweets 3 likes
The myopic enthusiasm of each generation of FE devs for their tool is the legacy we all regret only a few years later. Need shared tools.
-
-
Replying to @slightlylate @tracker1 and
...and not "shared" in the sense of "...once we convert all code to my framework of choice & recompile..."
2 replies 0 retweets 2 likes -
Replying to @slightlylate @tracker1 and
So we're impatiently optimistic. CE and SD and Imports and <template> and the rest have value. Waiting on other vendors sucks, tho.
0 replies 0 retweets 1 like
End of conversation
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.