Using addEventListener / onClick inside a React Component
Hey,
I'm just trying to understand the differences between Vanilla JS addEventListener and the onClick method provided by React for use in a React component.
I'd like to know more in detail about how the event is registered and how it is bubbled and performance in both cases.