A

Admin • 833K Points
Coach

Q. What is the difference between controlled and uncontrolled components in React?

  • (A) Controlled components have their value controlled by React state, uncontrolled components manage their own state
  • (B) Controlled components are class components, uncontrolled are functional
  • (C) Controlled components do not have state, uncontrolled do
  • (D) There is no difference
  • Correct Answer - Option(A)
  • Views: 25
  • Filed under category React JS
  • Hashtags:

Explanation by: Admin

Controlled components receive their value from props and notify changes via callbacks.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.