Hacker News new | ask | show | jobs
by coderzach 3966 days ago
Using event delegation makes that a non issue.
1 comments

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.