B4Coder
0%
LessonAbout 6 min

Chapter 4 · Lesson 1 of 5

01. Remembering a number: useState

A component forgets everything each time it draws. useState gives it a value to remember, and a function that changes it and redraws.

Opening the lesson…