Data components

39 views
Skip to first unread message

Antonio Greco

unread,
Jul 31, 2015, 11:23:42 AM7/31/15
to Twitter Flight
Hi,

can anyone confirm if data components should aways be attached to the document?

Thanks, in advance
Antonio

Tom Ashworth

unread,
Jul 31, 2015, 11:38:11 AM7/31/15
to Antonio Greco, Twitter Flight
Hey Antonio,

You don't always have to, but attaching to the document is a common pattern.

It's more advanced Flight usage, but you can attach data components elsewhere and take advantage of DOM event-bubbling behaviour if you want. This isn't something I've seen done often, but it's possible.
--
Tom
Reply all
Reply to author
Forward
0 new messages