Q. What is the purpose of the useRef hook?
β
Correct Answer: (A)
To access and persist mutable values without causing re-renders
Explanation: useRef returns a mutable ref object that persists across renders.