Q: Explain the difference between a controlled vs uncontrolled component
Utilisateur anonyme
- 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.