A

Admin • 802.91K Points
Coach

Q. Which of these is a controlled component in React?

  • (A) An input element with value controlled by React state
  • (B) An input element with defaultValue attribute
  • (C) An input element with no value attribute
  • (D) An uncontrolled input
  • Correct Answer - Option(A)
  • Views: 13
  • Filed under category React JS
  • Hashtags:

Explanation by: Admin
Controlled components have their value driven by React state.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.