Q. What does the useEffect hook return?
β
Correct Answer: (C)
A cleanup function
Explanation: useEffect can return a cleanup function that runs when the component unmounts or before the effect re-runs.