Domanda di colloquio di Kinaxis

Q: Explain the difference between a controlled vs uncontrolled component

Risposta di colloquio

Anonimo

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