reading-notes

Software Development Reading Notes

View on GitHub

Readings: React and Forms

React Docs - Forms

Controlled components in React are those in which form data is handled by the component's state. 
Forms are used to store information in a document section. 
The information from this form is typically sent to a server to perform an action.
store data when they sumbmit a form, because data flow backwords needs a submit function
form validation.

The Conditional (Ternary) Operator Explained

It provides a way to shorten a simple if else block
(x===y) ? consol.log(true) : console.log(false);