2222 - Database
2323 - Cloud Firestore
2424 - [ ` useFirestoreDoc ` ] ( #useFirestoreDoc )
25+ - [ ` useFirestoreDocData ` ] ( #useFirestoreDocData )
2526 - [ ` useFirestoreCollection ` ] ( #useFirestoreCollection )
27+ - [ ` useFirestoreCollectionData ` ] ( #useFirestoreCollectionData )
2628 - Realtime Database
2729 - [ ` useDatabaseObject ` ] ( #useDatabaseObject )
30+ - [ ` useDatabaseObjectData ` ] ( #useDatabaseObjectData )
2831 - [ ` useDatabaseList ` ] ( #useDatabaseList )
32+ - [ ` useDatabaseListData ` ] ( #useDatabaseListData )
2933 - Cloud Storage
3034 - [ ` useStorageTask ` ] ( #useStorageTask )
3135 - [ ` useStorageDownloadURL ` ] ( #useStorageDownloadURL )
@@ -187,6 +191,23 @@ _Throws a Promise by default_
187191
188192[ ` DocumentSnapshot ` ] ( https://firebase.google.com/docs/reference/js/firebase.firestore.DocumentSnapshot )
189193
194+ ### ` useFirestoreDocData `
195+
196+ Listen to a Firestore Document.
197+
198+ _ Throws a Promise by default_
199+
200+ #### Parameters
201+
202+ | Parameter | Type | Description |
203+ | ----------- | --------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
204+ | ref | [ ` DocumentReference ` ] ( https://firebase.google.com/docs/reference/js/firebase.firestore.DocumentReference ) | A reference to the document you want to listen to |
205+ | options _ ?_ | ReactFireOptions | Options. This hook will not throw a Promise if you provide ` startWithValue ` . |
206+
207+ #### Returns
208+
209+ ` T `
210+
190211### ` useFirestoreCollection `
191212
192213Listen to a Firestore Collection.
@@ -204,6 +225,23 @@ _Throws a Promise by default_
204225
205226[ ` QuerySnapshot ` ] ( https://firebase.google.com/docs/reference/js/firebase.firestore.QuerySnapshot )
206227
228+ ### ` useFirestoreCollectionData `
229+
230+ Listen to a Firestore Collection.
231+
232+ _ Throws a Promise by default_
233+
234+ #### Parameters
235+
236+ | Parameter | Type | Description |
237+ | ----------- | --------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
238+ | ref | [ ` Query ` ] ( https://firebase.google.com/docs/reference/js/firebase.firestore.Query ) | A query for the collection you want to listen to |
239+ | options _ ?_ | ReactFireOptions | Options. This hook will not throw a Promise if you provide ` startWithValue ` . |
240+
241+ #### Returns
242+
243+ ` T[] `
244+
207245### ` useDatabaseObject `
208246
209247Listen to a Realtime Database Object.
@@ -221,6 +259,23 @@ _Throws a Promise by default_
221259
222260[ ` QueryChange ` ] ( https://github.com/firebase/firebase-js-sdk/blob/6b53e0058483c9002d2fe56119f86fc9fb96b56c/packages/rxfire/database/interfaces.ts#L28 )
223261
262+ ### ` useDatabaseObjectData `
263+
264+ Listen to a Realtime Database Object.
265+
266+ _ Throws a Promise by default_
267+
268+ #### Parameters
269+
270+ | Parameter | Type | Description |
271+ | ----------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
272+ | ref | [ ` Reference ` ] ( https://firebase.google.com/docs/reference/js/firebase.database.Reference ) | A reference to the object you want to listen to |
273+ | options _ ?_ | ReactFireOptions | Options. This hook will not throw a Promise if you provide ` startWithValue ` . |
274+
275+ #### Returns
276+
277+ ` T `
278+
224279### ` useDatabaseList `
225280
226281Listen to a Realtime Database list.
@@ -238,6 +293,23 @@ _Throws a Promise by default_
238293
239294[ ` QueryChange[] ` ] ( https://github.com/firebase/firebase-js-sdk/blob/6b53e0058483c9002d2fe56119f86fc9fb96b56c/packages/rxfire/database/interfaces.ts#L28 )
240295
296+ ### ` useDatabaseListData `
297+
298+ Listen to a Realtime Database list.
299+
300+ _ Throws a Promise by default_
301+
302+ #### Parameters
303+
304+ | Parameter | Type | Description |
305+ | ----------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
306+ | ref | [ ` Reference ` ] ( https://firebase.google.com/docs/reference/js/firebase.database.Reference ) | A reference to the list you want to listen to |
307+ | options _ ?_ | ReactFireOptions | Options. This hook will not throw a Promise if you provide ` startWithValue ` . |
308+
309+ #### Returns
310+
311+ ` T[] `
312+
241313### ` useStorageTask `
242314
243315Listen to a Storage UploadTask
0 commit comments