Single Choice Not Set

QHow can we prevent default behavior in React?

ID: #4339 ReactJS - Events 357 views
Question Info
#4339Q ID
Not SetDifficulty
ReactJS - EventsTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A None of the options ✔ ✖
  • B Using avoidDefault() ✔ ✖
  • C Using revokeDefault() ✔ ✖
  • D Using preventDefault() ✔ ✖
Correct Answer

Explanation

  • preventDefault() should be called explicitly in React.

Share This Question

Challenge a friend or share with your study group.