Q. Which of the following is used to handle side effects in React functional components?
β
Correct Answer: (A)
useEffect
Explanation: useEffect is used for handling side effects like data fetching, subscriptions, and manual DOM manipulation.