react-intersection-observer track multiple components code example Example: react-intersection-observer yarn add react-intersection-observer