What does useRef do?
React Hooks Basics
Audio flashcard · 0:11Nortren·
What does useRef do?
0:11
useRef returns a mutable object with a current property that persists across renders. It is commonly used to access DOM nodes directly or to store a mutable value that should not cause a re-render when it changes.