use-intersection-observer
Create an IntersectionObserver instance to observe the intersection of the webcomponent or a reference.
Remember that to detect any intercept, a minimum height and width of the reference to be observed is required.
useIntersectionObserver
useRefIntersectionObserver