-
Notifications
You must be signed in to change notification settings - Fork 408
-
The Firebase JS SDK has a get method for Firestore and Realtime Database that fetches a value once and doesn't stream updates.
We should probably implement something like a useFirestoreDocOnce to allow for this behavior in reactfire. Or, add a once flag to ReactFireOptions to accomplish the same thing.
-
useFirestoreDoc[Data]OnceAdd hooks to get firestore document data once #211 -
useFirestoreCollection[Data]Once -
useDatabaseObject[Data]Once -
useDatabaseList[Data]Once
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
I think we should use getFirestoreDoc, as used in the official Firebase APK
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment