ReactIntersectionObserver is a React component, acting as a wrapper for the IntersectionObserver API. It is fully declarative and takes care of all the imperative parts for you.
npm install –save @researchgate/react-intersection-observer
Live Demo: View The Demo
Download Link: Download The Source Code
Official Website: https://github.com/researchgate/react-intersection-observer