React

Review

New Stuff

Javascript short-cuts

let person = { fname, lname, occupation }
console.log("Notice that variable names become key names: ");
console.log(person);

let person2 = {
    fname: fname,
    lname: lname,
    occupation: occupation
}

State

ColorList

Forms

API

18 March

Review:

Callbacks vs. Promises

Callbacks

“Callback Hell”

Promises

Using fetch with Promises to connect to API

Adding API calls to ColorList