Try this exercise. Click the correct answer from the options.
Which method is used to prevent the default form submission behavior in React?
Click the option that best answers the question.
- preventDefault()
- stopPropagation()
- submit()
- validate()
Which method is used to prevent the default form submission behavior in React?