Q. How do you prevent a form submission from refreshing the page in React?
β
Correct Answer: (A)
By calling event.preventDefault() in the submit handler
Explanation: Calling event.preventDefault() stops the default form submission behavior.