hrgui
infinite-scroll-demo

What I Did

  • Demo of a photo reel on how infinite scroll can work with IntersectionObserver

Technologies Used

About

I’ve had some cases when I needed to do infinite scroll. In the past, I’ve used libraries and event listeners. Now, I just use IntersectionObserver. I also paired it with @tanstack/react-query’s useInfiniteQuery.

See my blog post for more insight.

hrgui

Harman Goei (hrgui) is a developer that loves to make cool and awesome web applications. His strength is in HTML, CSS, JavaScript, but he is willing to code anywhere in the stack to make the web be awesome.

© 2024 Harman Goei