react-query-firebase
react-query-firebase copied to clipboard
React Query hooks for managing asynchronous operations with Firebase. Supports Authentication, Analytics, Firestore & Realtime Database.
I'm working on an app in Nextjs 12 and everything appears to be working fine but I keep getting this error at build time about a different Firestore SDK: ```...
The example [here](https://react-query-firebase.invertase.dev/firestore/querying-collections) under Basic Example imports "query" but also declares a `const query` in the function body causing this example not to work.
The link see screenshot below links to tanstack query v4 page for installation instructions when the library needed is react query v3.
This is a simple fix related to issue #64.
There is a small typo present on the [firestore/typescript](https://react-query-firebase.invertase.dev/firestore/typescript#explcit-types) page. Currently, the section says "Explcit types". I believe it should be "Explicit types"
In our subscription hooks, specifically in the internal hook `useSubscription`, we use the `setQueryCache` method to update data. In our tests we are waiting for `onSuccess` to be called, which...
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, });...
I have a wrapper component that redirects unauthenticated users and renders the children (layout in my case) if the user is logged in. But sometimes it works and sometimes it...