We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const unsubFirestore = FirebaseProvider.firestore() .collection(FirestoreCollections.ProfilesCollectionName) .doc(user?.uid) .onSnapshot({ next: (snap) => DocumentSnapshotToHookWithItem<IProfile, IProfileWithKey>( snap, onSnapshot, ), error: (error) => { setProfileItem({...profileItem, error}); }, });
Mocked snapshot is passed
TypeError: _FirebaseProvider.default.firestore(...).collection(...).doc(...).onSnapshot is not a function 64 | .collection(FirestoreCollections.ProfilesCollectionName) 65 | .doc(user?.uid) > 66 | .onSnapshot({ | ^ 67 | next: (snap) => 68 | DocumentSnapshotToHookWithItem<IProfile, IProfileWithKey>( 69 | snap,
So I read you guys have been trying to fix this and there is supposedly a merged fix for onSnapshot, but I sure can't get it to work. Already tried:
onSnapshot
Appreciate anyone who got a working solution for Firebase Firestore snapshots using
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Example
Expected behavior
Mocked snapshot is passed
Actual behaviour
So I read you guys have been trying to fix this and there is supposedly a merged fix for
onSnapshot
, but I sure can't get it to work. Already tried:Appreciate anyone who got a working solution for Firebase Firestore snapshots using
The text was updated successfully, but these errors were encountered: