Firestore DocumentReference that will be subscribed to
Optional
options: UseDocumentDataOptions<AppModelType>Options to configure the subscription
initialValue
: Value that is returned while the document is being fetched.
Document data, loading state, and error
undefined
if document does not exist, is currently being fetched, or an error occurredtrue
while fetching the document; false
if the document was fetched successfully or an error occurredundefined
if no error occurred
Returns and updates the data of a Firestore DocumentReference