In this video, I show how I further optimized the Google Firebase Firestore search query results pagination by adding an extra search result. This enables a look forward on every asynchronous onSnapshot callback function to check if there are any further results such that it can be determined if the previous/next buttons need to be disabled. The app is using Javascript, Vue and Vuex for its project stack.
This video is part of a playlist:
• Real Time Database with Vue.js + Vuex...
It is also part of a blog post on DedicatedManagers.com:
http://www.dedicatedmanagers.com/real...
The source code for this project is available publicly on the Dedicated Managers Github account:
https://github.com/DedicatedManagers/...