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