B4Coder
0%
LessonAbout 7 min

Chapter 10 · Lesson 1 of 5

01. useMemo: skip slow work

Every render runs the whole component again. useMemo remembers a slow result, and works it out again only when what it depends on changes.

Opening the lesson…