8 ms·
Using event delegation makes that a non issue.
by coderzach 11y ago
Using event delegation makes that a non issue.
- nitwit005 11y agoSort 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.