reading-notes

Class 4

Back to home page

React docs - forms

Q. What is a ‘Controlled Component’?

Q. 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.

Q. How do we target what the user is entering if we have an event handler on an input field?

Ternarys

Q. Why would we use a ternary operator?

Q. Ternary-question

Bookmark-

Things I want to know more about

The use of controlled components still conduses me, I would like to see some more use of a controlled component and if there are other uses for them besides forms.