How do you handle memory leaks in React apps · InterviewLane