reading-notes

React and Forms

Forms

Forms

  1. Controlled components are components that are controlled solely by React.
  2. We should wait to store it so theres no chance for errors in their responses.

The Conditional Operator Explained

Conditional Operator

  1. We use this to shorten our if statements to to one line.
  2. x===y ? console.log(true) : console.log(false)