Q: Explain the difference between a controlled vs uncontrolled component
Resposta da entrevista
Sigiloso
29 de jul. de 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.