πŸ“Š React Js
Q. What is the default behavior of a form submission in React?
  • (A) It does nothing
  • (B) It reloads the page
  • (C) It sends an HTTP request
  • (D) It shows an alert
πŸ’¬ Discuss
βœ… Correct Answer: (B) It reloads the page

Explanation: The default form submission behavior causes a page reload, which can be prevented using preventDefault().

Explanation by: Mr. Dubey
The default form submission behavior causes a page reload, which can be prevented using preventDefault().

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
48
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
90%
Success Rate