/react-state

Primary LanguageJavaScript

React and state

Objectives

  • Add state of a class component
  • Render content from state
  • Connect an HTML button with an event handler
  • Update the state using an event handler