201-Your reminder to trust the process!
What is a ‘Controlled Componenet’
- A controlled component is a component that renders
form elements and controls them by keeping the form data in the component’s state.
Should we wait to store the users responses from the form into state when they
submit the form OR should we update the state with their responses as soon as they enter them? Why.
- We should store the users responses as soon as they are entered because…
How do we target what the user is entering if we have an event handler on an input field? - Make a controlled input.