Intersection Observer API - Web APIs | MDN
Bookmarked developer.mozilla.org/en-US/docs/Web/API/Intersection_Observ…
Perhaps this could help with infinite scrolling.
Bookmarked developer.mozilla.org/en-US/docs/Web/API/Intersection_Observ…
Perhaps this could help with infinite scrolling.