What are controlled components?
A controlled component is a component that renders form elements and controls them by keeping the form data in the component’s state. In a controlled component, the form element’s data is handled by the React component (not DOM) and kept in the component’s state.
-https://stackoverflow.com/questions/42522515/what-are-react-controlled-components-and-uncontrolled-components
What two props must you pass to an input for it to be “controlled”?
- on change