Questions tagged [react-redux-firebase]
200 questions
2
votes
0 answers
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 tried the following:
import { firestoreConnect } from…
![](../../users/profiles/14232549.webp)
user14232549
- 180
- 10
2
votes
2 answers
I am rewriting a class component to a functional component in react-redux-firebase project
I am rebuilding this…
![](../../users/profiles/14232549.webp)
user14232549
- 180
- 10
2
votes
1 answer
Can I structure document collection of users that sign in using google auth provider?
So I am trying to do an app using React and Firebase and by now everything was fine.
In my app there are a few options to auth a user. Google, Email and Password and also Twitter.
When a user is creating an account using his email I can easily…
user9661030
2
votes
2 answers
Private Route in react redux firebase not working
I been trying to integrate the react-redux-firebase with my react app. Everything is working except for the protected routes
I copied the code for private route from react-react-firebase.
This is the code for my private route
import React from…
![](../../users/profiles/7587070.webp)
Vikranth
- 907
- 1
- 8
- 20
2
votes
1 answer
Using react-redux-firebase to comsume cloud functions - React JS
I'm new to React JS. I'm trying to develop one simple web page which renders data from cloud firestore. And I'm using react-redux-firebase to fetch the data. It is working fine. Now I want the data to be fetched from cloud functions. I have deployed…
![](../../users/profiles/2629813.webp)
Akshatha Srinivas
- 997
- 1
- 11
- 29
2
votes
1 answer
TypeError: firestore.collection is not a function (React ,Redux, Firestore)
When integrating firebase and firestore with react I am facing this error.
I have followed new react-redux-firebase documentation but It is of no help.
Error -> TypeError: firestore.collection is not a function
This is the function where I am…
![](../../users/profiles/12019710.webp)
Bippan Kumar
- 225
- 2
- 9
2
votes
0 answers
How to setup react-redux-firestore in NEXT.JS
I am migrating from my Create React App (client-side-rendering) to Next JS (server-side rendering) due to SEO reasons. Migrating was going well until using React-Redux-Firebase / Firestore. This is the page I am trying to load:
Discover.js
import…
![](../../users/profiles/12667474.webp)
Frido van Driem
- 33
- 4
2
votes
1 answer
Redux-firestore with React
So I have been creating an application where a user needs to log into firebase using google authentication. I am using redux, react-redux, react-redux-firebase, redux-firestore, and redux-thunk. I am able to successfully log the user into firebase…
![](../../users/profiles/13223523.webp)
Ehren
- 33
- 4
2
votes
0 answers
Why profile data from react redux firebase isn't loaded?
I'm trying to load profile data via react redux firebase, but it doesn't work.
This is my function to create a new user:
firebase.createUser({ email, password }, { firstName, lastName })
That's the way I'm setting my store:
const rootReducer =…
![](../../users/profiles/13006369.webp)
John
- 21
- 1
2
votes
0 answers
Firebase inconsistent data while updating two collections at the same time from React
I have React application where I store data in firebase and use these data as state in my application.
I have two collections:
- one for storing Card data
-second for storing place and order in which the Cards will render (only Card's ID in…
![](../../users/profiles/12907871.webp)
Niko
- 21
- 2
2
votes
0 answers
How to firebase.login() & createNewUser() with react-redux-firebase and email link firebase passwordless auth?
I’m working on a react native application that uses [Firebase Email Link (passwordless) Auth]((https://firebase.google.com/docs/auth/web/email-link-auth)
I have created a ‘users’ collection on the Firestore database.
In order to easily sync users…
![](../../users/profiles/12860395.webp)
Wissile Sogoyou
- 21
- 1
2
votes
0 answers
Redux re-renders entire table after any Firestore entry change (React-Redux-Firebase + React-Virtualized)
I'm using react-redux-firebase with reselect and react-virtualized to try and display a 500~ item list that will have entries that will change, get added or get deleted in the background.
Every time a single entry changes on firebase, my table…
user5786934
2
votes
0 answers
Getting Reference Document in Firestore with React using react-redux-firebase
I'm working with a collection which documents looks like these
Visit {
point: document-ref
}
the point contains the lat and long for the point.
As you can see, I'm retrieving the document for each visit. But I'm also having a huge problem: I'm…
![](../../users/profiles/6427969.webp)
papablo
- 21
- 4
2
votes
1 answer
react-redux-firebase error 'Firebase instance does not yet exist. Check your compose function.'
I'm using 'react-redux-firebase' in my project and want to integrate firebase into react-thunk.
Everything works fine on local but I got error when deploy project to Firebase hosting.
Uncaught Error: Firebase instance does not yet exist. Check your…
![](../../users/profiles/4512884.webp)
Irina Vdomike
- 93
- 6
2
votes
0 answers
How to get multiple documents from a collection React redux Firestore (query return undefined)
I'm trying to write a query where I can get only the posts that have the same categories from Firestore based on categorieId, but am unable to get it to work. What am I missing here?
when I remove where: ["categorieId", "==", idCateg], i get all the…
![](../../users/profiles/7953339.webp)
Micessien
- 51
- 3