Frage im Vorstellungsgespräch bei Kinaxis

Q: Explain the difference between a controlled vs uncontrolled component

Antwort im Vorstellungsgespräch

Anonym

29. Juli 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.