you mean @tabatkins? decorators were the use case?
-
-
Replying to @briankardell @tabatkins
I brought up a decorator-like idea to use this sort of api, yes. I don't know what decorator baggage you are worried about though.
1 reply 0 retweets 1 like -
Replying to @matthewcp @tabatkins
just that immediately you are likely to get a lot of responses about why decorators failed rather than what you really care about :)
1 reply 0 retweets 0 likes -
Replying to @briankardell @tabatkins
I'd welcome those responses, I've searched the internet for the answer to that question but was never able to find it.
1 reply 0 retweets 0 likes -
Replying to @matthewcp @tabatkins
maybe
@slightlylate or@addyosmani can share some stuff, I am swamped :(1 reply 0 retweets 0 likes -
Replying to @briankardell @matthewcp and
It just turns out to be very messy to swap out DOM interfaces dynamically. Enough trouble with the one "upgrade" that already happens.
1 reply 0 retweets 1 like -
Replying to @tabatkins @briankardell and
We looked *very* hard at decorators in the WC design. Changing what a "thing" is almost never works out (because un-application).
1 reply 0 retweets 2 likes -
Replying to @slightlylate @tabatkins and
Where did decorators swap out a thing? I thought it was just creating a shadow and cloning a template into the shadow.
2 replies 0 retweets 0 likes -
Replying to @matthewcp @tabatkins and
But how do you add behavior to it? Like, if I want something to *happen* when I take an action inside the shadow, what then?
1 reply 0 retweets 1 like -
Replying to @slightlylate @tabatkins and
I guess you mean the weird event part of the decorator idea, Never understood that. Anways, happy to implement in userland if apis exist. :)
1 reply 0 retweets 3 likes
That was the other part of the exploration: would we be willing to trigger user code *within* style application? Answer: no.
-
-
Replying to @slightlylate @matthewcp and
Yup. But, slightly after? That's fine.
1 reply 0 retweets 3 likes -
Replying to @tabatkins @slightlylate and
Thanks for the historical context everyone!
0 replies 0 retweets 3 likes
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.