Skip to main content

All Questions

0 votes
1 answer
550 views

react redux firebase error while importing firebase, not able to import firebase. how to solve it?

I'm making a project in which I'm using firebase for my database and authentication. but while making my redux store error pops up and says I'm not importing firebase correctly. I exactly copied the ...
And4Web's user avatar
  • 84
1 vote
0 answers
150 views

Firebase Error: <ReactReduxFirebaseProvider></ReactReduxFirebaseProvider> not working, what to do?

I am trying to create a ReactJs App and using Firebase, react-redux and react-redux-firebase for the first time as database and authentication. I am using and following the official documentation to ...
And4Web's user avatar
  • 84
0 votes
1 answer
189 views

Firebase storage path to store images of a social post [closed]

I'm currently working on a social platform where users create posts similar to Facebook or Linkedin. So what I'm trying to achieve is, whenever user create a post they may upload images as part of the ...
Hemadri Dasari's user avatar
0 votes
1 answer
359 views

Dynamically import firebase firestore module causes 'firestore.disableNetwork is not a function'

I'm trying to reduce my bundle size in my CRA React/Redux/Firebase app by dynamically importing Firestore after I have initialized my app. When I was eagerly importing firebase modules, my form ...
Brad Stewart's user avatar
2 votes
1 answer
1k views

firebase.database() is not a function error in react

To give some context i am trying to setup my react app with redux-toolkit and react-redux-firebase (need firebase realtime db). i followed the react-redux-firebase readme to create this file import ...
pg07's user avatar
  • 157
1 vote
1 answer
139 views

Where should I put my logic for writing new data to Firestore?

I'm currently working on a project with React and Firebase and at the moment my logic to write new data to Firestore is directly in my components. I'm now also integrating Redux, for this I am using ...
revilos's user avatar
  • 13
1 vote
0 answers
106 views

Redux-React-Firebase Mock Testing

I would like to test my action creator, which takes a task and adds it to firestore and then another also deletes it from firestore. How would I test this code. I assume I need to do some mocking, but ...
Sherwin Mascarenhas's user avatar
0 votes
2 answers
147 views

What could cause React to re-render props such that Firebase query returns the wrong data?

My React Firebase app renders a series of posts that each render a list of comments: PostList PostSummary CommentList Comment PostList and CommentList each query a different collection (...
bront's user avatar
  • 43
3 votes
0 answers
241 views

How to use LIKE in react-firestore?

I can't figure out how to use the LIKE operator on Firestore with React-redux-firebase. I would like something similar to this: Select * from countries where name LIKE %xico% //RESULT = Mexico I ...
user14232549's user avatar
1 vote
0 answers
244 views

How should I modify React state? addDoc() called with invalid data

I would like to upload a image-file to storage of the firebase and put {title , content, createDate etc} in firestore. but it seems that state.upload file prevents putting it in firestore. this....
user14232549's user avatar
0 votes
1 answer
248 views

React-Redux cannot fetch my collection in Firestore

I am new to Redux and firebase and I have 2 documents under projects collection. However, I am unable to retrieve those collections. Here is my code, fbConfig.js: import firebase from 'firebase/app'; ...
Nishant Jalan's user avatar
0 votes
1 answer
2k views

Cannot read property 'reduce' of undefined data from firebase

I am trying to git the totalBalance of but i face error Cannot read property 'reduce' of undefined and in the same time i can iterate on the clients of the component the code is the below //redux and ...
Ahmed Salah's user avatar
1 vote
0 answers
564 views

Is it possible to get 'automatic' updating (binding) from Firestore to a React/Redux app?

I'm wondering whether it's possible to have changes in a Firestore DB automatically reflected in a React app. That is -- if I have the correct terminology -- whether I can bind the two together, with ...
Cerulean's user avatar
  • 5,893
1 vote
0 answers
73 views

Error while trying to implement firebase with react project

While trying to implement Firebase into my react project I am getting this error. TypeError: Object(...) is not a function. This is what the code looks like // Add reactReduxFirebase enhancer when ...
Pravunath Singh's user avatar
0 votes
1 answer
574 views

React with react-redux-firebase isLoaded is true and isEmpty is seemingly false, yet firebase.auth().currentUser is null - what could be the cause?

so I might have difficulty explaining this issue I am having, which I am not able to reproduce consistently. I have a React app on which I am using react-redux-firebase and that I thought I was ...
Pippy Longstocking's user avatar

15 30 50 per page
1
2 3 4 5 6