Going through this blog, I could see that my app would be better off using the Firebase cloud functions for Firebase Firestore rather than directly accessing Firestore using client-side SDK.
I can implement the Firestore READ operation using get()
, WRITE operation using set()
or update()
&
DELETE using delete()
methods. All these one-shot operations are fine.
Is possible to implement addSnapshotListener
to fetch real-time updates? If yes, how?