To me CustomElements V1 is the API that would have benefited most from origin trials. It was specced unpolyfillable (relying on ES6 syntax) which real dev exposure would have immediately found. Classic failure of backroom standardizationhttps://twitter.com/slightlylate/status/1139626438766673920?s=19 …
-
-
AMP literally has a single custom element class for all many dozens of elements and delegates to implementation classes. If customElements.define would make such an internal proxy and take any constructor for the delegate that should work just fine.
-
We did this to enable late-loading implementations while the base class can reserve space and show a loading indicator but it turned out to be the best architecture decision I ever made.
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.