render returns html (JSx) use curly braces to escape html {}
State define starting state can only return a single element (ie: wrap everything in a div)
setState changes component's state and causes a re-render
run webpack to bundle react & JS
other notes: State is the data that effects other applications or parts of your app
Mini Project - Todo list
- Create a react component
- Link an input to the staete
- Add a button that adds the input to a list in the state -clear out the input
- Render the list
Partial Application