react-visibility-sensor

react-visibility-sensor

Sensor component for React that notifies you when it goes in or out of the window viewport.