did you know that the "event listener" props in react, such as onClick, don't actually lead to event listeners being added to the DOM? instead react uses an event delegation pattern where all events are caught in its root element. it then bubbles the event through the react component tree.
about 2 months ago