react-query-firebase
react-query-firebase copied to clipboard
React Query hooks for managing asynchronous operations with Firebase. Supports Authentication, Analytics, Firestore & Realtime Database.
Trying to decide whether to use this library - but no ones merging PRs or fixing issues... what's happening here.
After bumping `@react-query-firebase/firestore` (mostly to workaround React 18.2.0 peer dep), the query invalidation stops working. I do not have time to create minimal repro sandbox. Posting as a heads-up to...
``` const Register = () => { const {data} = useAuthUser(["user"], auth) const ref = doc(usersDb, data.uid) const addOtherFields = useFirestoreDocumentMutation(ref) const newUser = useAuthCreateUserWithEmailAndPassword(auth, { onSuccess(){ addOtherFields.mutate({name: "jhon Smith",...
I'm developing an application with expoand I'm trying to use this package. Most of the features work, like queries and mutation. Authentication seems to be a bit tricky. I'm using...
When I've used React Query before, I used it as a hook. Like Tanner showed in this demo: https://youtu.be/DocXo3gqGdI?t=2817 And also in the React Query Docs, https://tanstack.com/query/v4/docs/guides/mutations It shows how...
How can I write tests for this, I've tried mocking the hooks but nothing works, I'd like to start with a simple test flow: -> Type on e-mail input ✅...
Revamp