GridVids
Sign in with YouTube

Next.js + Strapi - Infinite Scroll

Mark watched
Don't Miss
Hide
Open in popup Open on YouTube

Watch and Learn 5 years ago

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 https://www.freepik.com from https://www.flaticon.com/

### Code used in this tutorial

https://bit.ly/3n8XY0V

---------------------------------------------------------------------------------------------- ⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. You can check it out here: http://bit.ly/3qdjIc5​​​​​ ------------------------------------------------------------------------------------------------

### You can support my work on Patreon

https://patreon.com/watchlearn

### Follow me on Social Media

Github: https://github.com/ivandoric Twitter: https://twitter.com/ivan_doric Instagram: https://www.instagram.com/watchlearntuts Facebook: https://facebook.com/watchlearntutorials