Re:Morphdom – fast and lightweight DOM diffing/patching (wit...
by coderzach on Saturday August 15, 2015 @12:09AM
(#10064274)
Using event delegation makes that a non issue.
[ Parent
| on HN ]
Re:Morphdom – fast and lightweight DOM diffing/patching (wit...
by nitwit005 on Saturday August 15, 2015 @11:38PM
(#10067880)
Sort of. You'd have to listen at the top level of wherever you're using this, so you'll have to write your own mini event library to figure out which component got clicked on, and grab any associated data.