Questions tagged [react-redux-firebase]
192 questions
1
vote
0 answers
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 the Firestore DB acting as a model and the React…

Cerulean
- 5,543
- 9
- 59
- 111
1
vote
0 answers
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 making store creators
// const…

Pravunath Singh
- 11
- 2
1
vote
1 answer
why it is returning null?
Hi I am trying to learn firebase. Now I am trying to follow what is inside the github doc.
Like to gitHub
This is my index.js file
const rfConfig = {}; // optional redux-firestore Config Options
// Your web app's Firebase configuration
const…

Khant
- 958
- 5
- 20
1
vote
0 answers
redux-firebase signInWithEmailAndPassword doesn't work
I've done all the setup for redux and redux-firebase, but when I call the signIn and signUp functions I receive only the first log (console.log(called signIn/signUp)) and not the second log so it doesn't enter the return and I don't understand…

Amedeo Pachera
- 11
- 1
1
vote
1 answer
react-redux-firebase firestore returns function and not object
I'm trying to use firestore with react-redux-firebase on a React App, and when I try to access state.firestore it returns a function and no the object. I'll attach the code for initialization.
This is the app file.
import React from "react";
import…

Luis
- 44
- 1
- 5
- 17
1
vote
1 answer
React Redux Firebase - isLoaded only false for the first document when using firestore
In my app I use react-redux-firebase version 2.5.1 with redux-firestore version ^0.13.0. I render a list of conversations with customers (called threads) and each time a user goes to another thread, until it's loaded I want him to see a loading…

Clyde Barrow
- 1,924
- 8
- 30
- 60
1
vote
0 answers
React Redux Firebase + Firestore - cannot read userProfile collection with data after migration
Currently I've been moving my firebase app from real time database to the cloud firestore. For that purpose I have two separate firebase projects:
my-project <- current project my app uses
my-project-firestore <- project I want to migrate to
I…

Clyde Barrow
- 1,924
- 8
- 30
- 60
1
vote
0 answers
Firestore [ReferenceError: Can't find variable: xxx]
I am trying to update a nested collection in Firebase with my Expo React-Native app and I am receiving an error from a catch statement:
Error updating user activities map: [ReferenceError: Can't find variable: activities]
This is interesting as…

pearvinegar
- 11
- 4
1
vote
3 answers
use Firestore for storing profile data with "react-redux-firebase"?
I want to use firestore to store the profile data using "react-redux-firebase". My expected output of firebase.profile looks like this in the console
Expected output of the console
but my output is
profile: {isEmpty: true, isLoaded: false}
…

harsh
- 11
- 2
1
vote
1 answer
how to detect that am in the first or the last page when paginating in firebase
am working on a pagination using Firebase and so far i have a button to go forward and other one to get back and they are working fine ,but i have problem detecting either if am in the first page or the last page so i can disable the pagination…

scripter
- 1,211
- 2
- 11
- 21
1
vote
1 answer
object is not a function when calling `useFirestoreConnect`
I'm using react-redux-firebase and redux-firestore packages.
I'm trying to connect firestore to redux using the useFirestoreConnect hook, but after calling this hook it gives me a TypeError like in this picture.
I've searched in the GitHub issues,…

AWIXOR
- 406
- 4
- 15
1
vote
1 answer
object() not a function in redux firebase react
TypeError: Object(...) is not a function in reactjs while implementing firebase
https://www.youtube.com/watch?v=gf5bVfVlNUM&list=PL4cUxeGkcC9iWstfXntcj8f-dFZ4UtlN3&index=17
used this tutorial but then error occured
ss of browser to see the…

Prayas Agrawal
- 151
- 3
- 9
1
vote
1 answer
Redux dispatching actions sequentially
I am building a random matching feature for my website. At the end of the startMatching Redux action, if the matching is successful, I want to dispatch another action called startConversation before dispatching MATCHING_SUCCESS. The…

Xi Liu
- 559
- 9
- 18
1
vote
1 answer
Using new Date() in useFirestoreConnect hook where query causing continuous document reads
I am successfully querying Firestore documents with a timestamp earlier than the current date like so:
import React from 'react'
import CircularProgress from '@material-ui/core/CircularProgress'
import { useSelector } from 'react-redux'
import {…

Grant Singleton
- 1,611
- 6
- 17
1
vote
1 answer
Why does my HTML not display when I iterate through the populated array?
I am currently working with react, redux, and firebase to display a list of available books for sale. I have successfully populated an array with all the information I want to display and updated the state for redux with this information. However,…

Jacob Connors
- 13
- 3