B4Coder
0%
LessonAbout 6 min

Chapter 7 · Lesson 1 of 5

01. Your first effect

useEffect runs code after React has drawn the component. With an empty list of dependencies, it runs once, when the component first appears.

Opening the lesson…