Infinite Scroll
In this tutorial I'm going to show you how to quickly build Infinite Scroll in your Strapi and Next.js application.
In the previous episode we generated pretty big list of posts. Now it’s time to display those posts in our Nextjs and Strapi app. Of course it’s not a very good idea to display all of those posts all at once, you should use pagination, load more or even better Infinite Scroll for that - and that is exactly what we are going to be doing in this episode.
To implement Infinite Scroll we will be using React plugin called react-infinite-scroll-component
, this plugin is going to make developing this feature a breeze.
Scroll Icon by Freepik from www.flaticon.com