DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
React Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
React
Why doesn't React attach a separate native event listener to every element with an onClick prop?
A
It does — this is a common misconception
B
React attaches a small number of listeners at the root and uses its own synthetic bubbling simulation through the React tree to dispatch to the right handler
C
Only the outermost element in an app can ever have an onClick handler
D
Event listeners are attached lazily only when clicked once
Check Answer