Posts

Showing posts with the label Firestore

Infinite Scroll Pagination with Firestore

Image
[ad_1] Infinite scroll is a feature that can have a huge impact on the user experience by loading data asynchronously based on scroll position in this video I'm going to show you how to implement infinite scroll and angular with the firestore database but we're going to do it in a way that not only Allows you to scroll down to load content but also to scroll up and load content in the opposite direction this has been a commonly requested feature and it would be used if you were doing something like Facebook Messenger or slack where you load a timeline of messages in Reverse we're going to Accomplish this by creating a generic service in angular and it will not only retrieve the data but also tell us when we've reached the end of a collection and when we are loading new data if you're new to the channel make sure to subscribe and grab the source code for This project from angular firebase comm I'm going to be starting from a brand new angular app and it...