Dhananjay Patel Logo
  1. Home
  2. / Blog
  3. / Controlled Vs Uncontrolled
  4. / Lessons
  5. / 3

Next

Difference b/w Controlled and Uncontrolled Component

Controlled ComponentUncontrolled Component
The component is under control of the component’s state.Components are under the control of DOM.
These components are predictable as are controlled by the state of the component.Are Uncontrolled because during the life cycle methods the data may loss.
Internal state is not maintained.Internal state is maintained
It accepts the current value as propsWe access the values using refs
Does not maintain its internal state.Maintains its internal state.
Controlled by the parent component.Controlled by the DOM itself.
Have better control on the form data and values.Has very limited control over form values and data

Next