RubyFlow The Ruby and Rails community linklog

Infinite Scroll in Rails with Stimulus.js

Adding infinite scroll seems tricky, but it’s really not. We can use Stimulus.js to listen for scroll events and load the next page dynamically. Check out the screencast on How to add Infinite Scroll with Stimulus.js and Rails

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in