RunSnip
Learn to codeOpen the editor
Learn to code/React

React

Components and state. Building a page out of functions that return markup.

  1. 1Components and propsA function that returns markup, and the values you hand it.
  2. 2StateValues a component remembers, and what changing one actually does.