Lesson 9 of 28 · Hooks, One at a Time
Learn useRef in 11 Minutes
A value that survives renders without causing one. Two distinct uses — reaching a DOM node, and remembering something quietly — and it helps to see them as separate things.
Video not playing? Some channels disable embedding, and there is no way around it.Open on YouTubeinstead — then come back and mark it complete.