Chapter 31: React, Part 3

Learning Objectives

Once you have completed everything in this chapter, you should be able to do the following:

  1. Understand what state is in React.
  2. Understand the underlying processes of changing the state in React.
  3. Work with event handlers to change a component’s state.
  4. Be able to render a form and understand what happens when the form is submitted.

Key Terminology

Here is a list of key terms you should make note of throughout the chapter on the page that they appear.

An Introduction to State in React

  1. state
  2. state variable
  3. state setter function
  4. hooks

Changes in State

  1. Virtual DOM
  2. reconciliation