Skip to main content

All Questions

Tagged with
0 votes
1 answer
14 views

Firestore snapshot realtime paging

currently i'm working on a Chat project using ReactJS and Firestore. Let say that i have a subcollection messages which contains multiple docs of message. I have a onSnapshot listener to listen newest ...
hieuph13's user avatar
0 votes
0 answers
26 views

Can useReducer be used for state management instead of useState?

I have a set of product details stored in in Firestore. I've created a custom hook to fetch the product details. The product categories should be displayed in the matching url param. As I add more ...
Fathima M.'s user avatar
1 vote
0 answers
40 views

React app won't write to Firebase Realtime Database

My React app won't write to my Firebase Realtime Database. I am doing everything exactly as the Firebase tutorials say but nothing. No error messages in the console or requests in the network tab ...
Superintendent UI's user avatar
0 votes
1 answer
50 views

How to Handle Firebase Notifications in a Web App Embedded in a React Native WebView?

I'm working on a project where I have a React web app that is embedded within a React Native WebView. I'm using Firebase Cloud Messaging (FCM) for handling notifications. The web app works fine when ...
Kamran Ali's user avatar
-1 votes
0 answers
29 views

Profile header not showing ( user not found ) error

so i have created a instagram clone in which i go to the profile section its saying user not found but in my code when i remove the "finally" block its showing only the skeleton but it ...
Kaushik shaw's user avatar
1 vote
0 answers
31 views

How can I update/create multiple documents in a collection in firebase?

I'm trying to use a default collection in firebase that a user can overwrite with their own values and save elsewhere. I have a default collection from which the initial values will be drawn, and have ...
Apersu's user avatar
  • 11
0 votes
1 answer
80 views

@firebase/firestore: Firestore (10.12.3): WebChannelConnection RPC 'Write' stream 0x401c795e transport errored

I'm trying to store data at firestore collection but getting this error again and again unable to store data on my messages collection. @firebase/firestore: Firestore (10.12.3): WebChannelConnection ...
Aniket Bhosale's user avatar
0 votes
1 answer
55 views

fetch only one data of single document instead of all documents

I'm trying to fetch all data of documents inside the collection but unfortunately the code only fetch data of one single document. const Charities = ({navigation}) => { const [...
Omar Bakoban's user avatar
0 votes
0 answers
12 views

Live reload a shared Typescript Library during React + Firebase development

I am working on a small React + Firebase app and I am implementing some backend functions through firebase functions. There are some shared datatypes and logic between the front end and backend and, ...
Someone's user avatar
  • 820
0 votes
0 answers
16 views

Firebase download files from storage with react app

I have the following code const fetchFiles = async () => { try { const eventDoc = await getDoc(doc(db, "events", id)); if (eventDoc.exists()) { const eventData = ...
Maxim's user avatar
  • 1
-1 votes
1 answer
36 views

React/NextJS useEffect Timer Incrementing Coins Every Nanosecond Instead of Every Second

I am developing a mining application using React where a timer should increment the user's coins every second. However, the timer is adding coins at an incredibly fast rate (every nanosecond) instead ...
Muhammad Baba Goni's user avatar
0 votes
0 answers
20 views

Firebase DocumentReference and Timestamps being lost? [closed]

I'm in the midst of a rework for one of the contexts in my project. It was previously all fetched and filtered on the front end but I was noticing performance issues with large data sets. I decided to ...
Luke Andrews's user avatar
1 vote
0 answers
31 views

Firebase Cloud Function Email Body Shows Only "{}" Despite Sending Form Data

I'm working on a firebase cloud Function to send form submissions via email using Nodemailer. I'm currently testing this using the Firebase Emulator. The issue I'm facing is that the email body only ...
Seth Stitick's user avatar
0 votes
2 answers
36 views

How do I retrieve data from firestore

I am trying to create a chat app using react vite and firebase, i am using firestore to store and retrieve chats, i imported getFirestore from firebase/firestore, and passed it to the "db" ...
Kevin Anthony's user avatar
0 votes
0 answers
21 views

Testing React + Firebase with emulator

I have a Firebase project where I'm using Firebase Functions and Hosting, and React for the frontend. During firebase init, I set build as my hosting directory, which is created by npm run build. For ...
Joy's user avatar
  • 81

15 30 50 per page
1
2 3 4 5
611