Q. Which hook should you use to access the previous state value?
β
Correct Answer: (B)
usePrevious (custom hook)
Explanation: React does not provide usePrevious natively, but it can be created using useRef.