Is there a sample using Subscriptions and Intersection Observer

I need to create a list with infinite scrolling. I would like to use Apollo Client Graphql Subscriptions and the Intersection Observer. Is there an example of how I can implement this in a React app?