I am using useFirestoreConnect hook to get data from collections and need data from collection only once.
But on official documentation here, There is no mention of turning off listeners. due to which my daily free quota exceeds sometime.
Is it possible to load data only once with useFirestoreConnect?
Option 1: Unmount component to stop the listener.
https://react-redux-firebase.com/docs/firestore
Option 2: Make the query with useFirestore()
http://react-redux-firebase.com/docs/api/useFirestore.html
https://firebase.google.com/docs/firestore/query-data/get-data#get_a_document