React Developer — Medium
Key points
- useRef returns a mutable object, not a state variable with a setter
- .current property persists without causing re-renders
- Primary use case is to access DOM elements
Ready to go further?
Related questions
React Developer — Medium
Key points
Ready to go further?
Related questions