Q. Which of the following is used for performance optimization in React?
β
Correct Answer: (C)
React.memo()
Explanation: React.memo() is used to prevent unnecessary re-renders of functional components.