Yeah: when the tree shape changes due to data (e.g. new elements added to list), what owns mounting the new leaves or removing unneeded?
-
-
Replying to @asolove @ken_wheeler and
Web Components invert this question because Shadow DOM.
1 reply 0 retweets 1 like -
Replying to @slightlylate @ken_wheeler and
Hmm, I currently think that I know what Shadow DOM does, but don't see how it's relevant here, so I bet I'm missing something.
1 reply 0 retweets 0 likes -
Replying to @asolove @ken_wheeler and
Your component gets data, then decides what to do with it. If the element to change is in the SD, it's logically "owned" by the CE.
1 reply 0 retweets 0 likes -
Replying to @slightlylate @ken_wheeler and
I'm searching around for this redux + web components example, which would help. Do you happen to have a link?
1 reply 0 retweets 0 likes
-
-
Thanks. 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.