Ignoring @seldo's intemperate, self-owning ad-homenim, let's consider what it might mean...there are many versions! A few:
1.) *literally do exactly this*
2.) add building blocks
3.) start from syntaxhttps://twitter.com/seldo/status/1135150260425318400 …
-
Show this thread
-
Replying to @slightlylate @seldo
To me
@seldo's tweet quite clearly articulates that browsers should ship some form of DOM diffing that can be used as a backend for popular frameworks natively and that JSX should become part of JS.6 replies 0 retweets 17 likes -
Replying to @cramforce @seldo
...and I outlined some of the reasons those are both much, much harder than they look. Not impossible, but entirely unlikely until/unless FB shows up to standards and start making concrete proposals.
2 replies 0 retweets 2 likes -
Which, BTW, they are doing in other areas to great success! Service Worker Navigation Preload, sampling debugging, etc. Killer stuff.
1 reply 0 retweets 2 likes -
I'm not aware of any proposals around diffing. The closest thing is the infra being debated in the Web Components working group for template parts:https://github.com/domenic/template-parts …
1 reply 0 retweets 3 likes -
No FB engagement there AFAICT or on the other low-level DOM APIs that would improve the situation, like feedback on constructable stylesheets. Maybe
@dominiccooney or@n8Schloss can correct me?2 replies 0 retweets 2 likes -
Replying to @slightlylate @cramforce and
What situations/problems would constructible stylesheets solve/improve? Userland solution’s like loaders, paired with css-modules give us code splitting along with scoping.
1 reply 0 retweets 1 like -
Replying to @AdamRackis @slightlylate and
Shadow DOM has style scoping that goes both ways. Because of that, styles for a web component have to be inside one (embedded <style>). Assuming CSS shipped in JS and perfect de-duplication, this doesn't have worse over the wire cost than many things people do (not saying much).
2 replies 0 retweets 0 likes
Constructable Stylesheets make this sort of sharing *super* cheap:https://developers.google.com/web/updates/2019/02/constructable-stylesheets …
-
-
Thanks. 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.