React has changed so much. Trying to improve some old Knockout code, realized, duh, just pass method in question as prop down to the widget
-
-
Replying to @AdamRackis
and you can't do that with etc components. Not sure even how you'd do that with WC. Event somehow?
1 reply 0 retweets 0 likes -
Replying to @kentcdodds
I think you can w/ WC, from what I surmise. One WC takes properties, and just passes it down, like React. cc
@slightlylate1 reply 0 retweets 1 like -
Replying to @AdamRackis @kentcdodds
Although, it's just a dom attribute, right? So passing a **method** wouldn't really work, right??? Could it?
@slightlylate6 replies 0 retweets 1 like -
-
Replying to @slightlylate
But DOM objects usually expressed w/ html, no? Wld WC let me declaratively pass methods down as props, like React?
@kentcdodds2 replies 0 retweets 0 likes -
custom dom events would seem like the normal thing to do
1 reply 0 retweets 0 likes
Replying to @vivainio @AdamRackis
: polymer also makes heavy use of those = )
9:10 AM - 29 Aug 2016
0 replies
0 retweets
1 like
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.