Intersection Observer API - Web APIs | MDNPerhaps this could help with infinite scrolling.

Load more