1 chap06
Jason Zhu edited this page 2021-12-30 13:21:16 +11:00

Chapter 6. React State Management

6.1 Building a Star Rating Component

6.2 The useState Hook

6.3 Refactoring for Advanced Reusability

6.4 State in Component Trees

6.4.1 Sending State Down a Component Tree

6.4.2 Sending Interations Back up a Component Tree

6.5 Building Forms

6.5.1 Using Refs

6.5.2 Controlled Components

6.5.3 Creating Custom Hooks

6.5.4 Adding Colors to State

6.6 React Context

6.6.1 Placing Colors in Context

6.6.2 Retrieving Colors with useContext

6.6.3 Stateful Context Providers

6.6.4 Custom Hooks with Context