invertase / invertase/tanstack-query-firebase
Querying firestore documents with subscribe never fetches
Open
react-query-firebase
- Dominant language
- TypeScript
- Stars
- 462
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
just never finishes fetching. setting subscribe to false fetches instantly
```
const ref = doc(firestore, "games", id);
const { data, isLoading } = useFirestoreDocumentData(["games", id], ref, {
subscribe: true,
});
```

it does work with useFirestoreQuery
`"@react-query-firebase/firestore": "^1.0.0-dev.7"`
`"firebase": "^9.11.0"`
`"react-query": "^3.39.2"`
Contributor guide
Assessment
This issue has not been assessed yet.