InterSection Observer React App / Next JS
const observerRef = useRef<IntersectionObserver>(); const handleObserver = useCallback((entries: any) => { const target = entries; if (target.isIntersecting) { console.log("intersecting"); } }, ); const loadMoreCallback = useCallback( (el: HTMLDivElement) => {…