Q. Which hook is best for accessing DOM elements directly?
β
Correct Answer: (C)
useRef
Explanation: useRef can be used to access DOM elements directly using ref.current.