The BEST way to build Infinite Scroll using Hotwire

21 Feb, 2023

Follow along as I implement infinite scroll pagination on the rapidruby.com lessons page. I’ll be using the useIntersection helper from stimulus-use to detect when you have scrolled to the bottom of the page and then Turbo Streams to insert each new block of videos.

Some of the libraries used in this video:

Discussion (0)

To comment you need to sign up for a free account or sign in.

Get new videos in your inbox weekly!

Be the first to hear about new courses and videos launching. You’ll only receive relevant news, no spam.