React·100 questions

What are controlled components (controlled forms)?

Answer
Input field managed by state.
value and onChange link UI and data.
Provides validation and control.
Can be slower on large forms.
Alternative — uncontrolled + refs/forms and libraries.
Was this answer helpful?

More questions in this topic

Related questions from other topics