It's the best DOM, Ken.
-
-
Replying to @_davideast @ken_wheeler and
Light DOM is the DOM in a slot, like React children. <my-element> <p>Hey, look. I'm Light DOM. I can be SSR and styled.</p> </my-element>
1 reply 0 retweets 1 like -
Replying to @_davideast @ken_wheeler and
When the element is defined you can do all the nice JS stuff you need and even use the light dom in the slot.
3 replies 0 retweets 0 likes -
-
Replying to @code_punkt @ken_wheeler and
It's progressive enhancement at the platform level.
1 reply 0 retweets 0 likes -
Replying to @_davideast @ken_wheeler and
That didn't help. What is the definition of "at the platform level"?
1 reply 0 retweets 0 likes -
Replying to @code_punkt @ken_wheeler and
"platform level" === browser feature instead of us web devs just winging it.
1 reply 0 retweets 1 like -
Replying to @_davideast @ken_wheeler and
Which is ultimately better because (A) performance (B) standards (C) api (D) something else? Not convinced that platform is always better.
1 reply 0 retweets 0 likes -
Replying to @code_punkt @_davideast and
It's not always better! But when standards arrive, their value is in _standardizing_ and therefore dropping certain costs to near-zero.
2 replies 0 retweets 0 likes
We don't bring in our own rounded-corner implementations any more, e.g.
-
-
Replying to @slightlylate @code_punkt and
And you don't buy bolts by mailing in a CAD file. You buy a strength/thread-angle/ID/OD pair off the shelf under a common name.
0 replies 0 retweets 0 likesThanks. 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.
