Understanding Ionic’s Infinite Scroll

"With the rise of social networks, the “feed” has become a popular design pattern, especially in mobile apps. In a previous article, I showed how to use the pull to refresh to create a feed. Another staple of the feed is the idea of infinite scrolling which is loading in new items (typically older items) to the bottom of a list as the user scrolls.

The Ionic Framework has a directive to accomplish exactly this. In this post, we’ll break down a basic example of using this directive, a list, and the Random User API to see how to use the directive with example data (feel free to follow along on CodePen)."