Q. Which hook provides a stable reference?

A
useState()
B
useRef()
C
useEffect()
D
useContext()
Solution:

useRef() provides a mutable reference that persists across renders.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!