Laravel Infinite Scrolling with Livewire
3 min readJul 26, 2021
Today we’re going to learn the magical art of infinite scrolling pagination. More specifically, we will be building a Laravel Livewire component that will scroll infinitely like you might see on Twitter or Facebook feeds.
The “infinite scrolling” or “infinite pagination” livewire component will dynamically query data using cursor pagination which helps keep things efficient.
This should be a pretty simple tutorial, so let’s get started!