Pregunta de entrevista de Kinaxis

Q: Explain the difference between a controlled vs uncontrolled component

Respuesta de la entrevista

Anónimo

29 jul 2023

- In a controlled component, form data is handled by a React component with state. - In an uncontrolled components, form data is handled by the DOM itself with refs.