A

Admin • 833K Points
Coach

Q. Which method allows performing side effects in functional components?

  • (A) useEffect
  • (B) useState
  • (C) useMemo
  • (D) useReducer
  • Correct Answer - Option(A)
  • Views: 17
  • Filed under category React JS
  • Hashtags:

Explanation by: Admin

useEffect is used for performing side effects in functional components like data fetching.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.