How would you implement infinite scrolling in React? · InterviewLane