this immediately puts you in the framework world because in order to access you work is to call it in a specific way.
-
-
once you give up on that and say “it’s just an element,” there are many ways to create an element.
2 replies 0 retweets 3 likes -
mmmm, but they are limited. You can't `const elem = new MyElement()` if you are extending HTMLElement.
2 replies 0 retweets 0 likes -
why not?
1 reply 0 retweets 0 likes -
I need to register it, which I avoid since I don't trust string based global registries. frameworks freed me of that hell
3 replies 0 retweets 0 likes -
No other way to enable innerHTML = ‘<my-element>’. If you want to be as flexible as native elements you need a registry.
2 replies 0 retweets 3 likes -
Yep. This creates the tradeoff: allow framework to totalize and balkanize, or admit up-front coordination problem.
1 reply 0 retweets 2 likes -
how to coordinate? how do you decide to divide the shared string namespace? right now I haven't seen people using framework prefixes
1 reply 0 retweets 0 likes -
Really? There's an entire world of components from dozens of places happily getting along over at https://www.webcomponents.org/
3 replies 0 retweets 0 likes -
I feel like "two packages with the same tag name" is a bit of a red herring, what is more likely is "two versions of the same package"
2 replies 0 retweets 3 likes
...at which point you're on the front-end and WHY ARE YOU LOADING IT TWICE, ZOMG YOU CAN'T AFFORD THAT.
-
-
we should not be so comfortable with the status quo of "use my component, just download this giant toolchain and add this boilerplate"
0 replies 4 retweets 9 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
exactly. we're also obsessing about a distribution problem for "big apps." the story for everything smaller than that is currently awful.
0 replies 0 retweets 3 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.