How to Create an Infinite Scroll Component in NextJS / React (Updated)

In this tutorial, I'll show you how to create your own infinite scroll component in NextJS / React without depending on an external library.