react-day1_Lecture

To transpile run the 'webpack' command in your terminal.

###Step 1: Render (returns html as jsx) Use squirrelies {} to escape html (jsx)

Must return a single element

###Step 2: State getInitialState - defines the starting state

##Mini Project - TODO List

  • Create a react component
  • Link an input to the state
  • Add a button that adds the input value to a list in the state
  • Render the list