The answer
Yes. Event delegation relies on event bubbling.
Yes. Event delegation relies on event bubbling.
It reduces the number of event listeners and improves performance.
Yes. That is one of its major advantages.
Using event bubbling to handle events for multiple children with a single listener on the parent. When a child is clicked, the event bubbles to the parent, which checks e.target to determine which child was clicked.
Browse all our FAQs or reach out to our support team
Your learning library
Find your next course. Build something great.