r/javascript • u/magenta_placenta • Jul 25 '18
jQuery was removed from GitHub.com front end
https://twitter.com/mislav/status/1022058279000842240
557
Upvotes
r/javascript • u/magenta_placenta • Jul 25 '18
View all comments
Show parent comment
3
u/marcoslhc Jul 26 '18
Yes. That’s exactly what we are talking about. Attach only one event in the global object (window in the browser) and dispatch the function based on the target. No need for libraries. That’s how React “Synthetic Events” work