Skip to main content

What is controlled vs uncontrolled component in forms?

Entry React

Answer

Controlled components store form values in React state. Uncontrolled components store input values in the DOM and use refs to access them.
S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice