Video Tutorial - Adding Infinity Scroll Pagination in SwiftUI with Task Modifier
Pagination can improve the memory usage of the app by limiting the number of data requested to the server. We don't want to fetch 50 or 100 article in a single request as it will consume mobile data as well as high memory usage. With the infinity scrolling pagination, the data is fetched lazily or as needed when the last view in List appears