1. Notes


  • React.Component defines React classes or types
  • Components take props as params
  • render method returns description of what to display
  • render returns a React element.
  • JSX is convenient interface to React.createElement
  • props are available via this.props
  • state is available in this.state
  • state is private to component and can be set in constructor
  • To use React Dev Tools in Codepen, click "Change View -> Debug". It will open the view without iframes.