How does onClickCapture differ from onClick in React?

Last Updated :
Discuss
Comments

How does onClickCapture differ from onClick in React?

It only works with buttons

It triggers during the bubbling phase

It fires during the capture phase

It prevents default behavior

Share your thoughts in the comments