B4Coder
0%
LessonAbout 7 min

Chapter 7 · Lesson 5 of 5

05. useRef: remembering without redrawing

useRef keeps a value between renders without redrawing when it changes, and can point at an element on the page.

Opening the lesson…