Q. Which hook provides a stable reference?
Solution:
useRef() provides a mutable reference that persists across renders.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
useRef() provides a mutable reference that persists across renders.
Strengthen Your Practice with our comprehensive question bank.