How would you optimize performance in a React app with large component trees · InterviewLane