Questions tagged [react-redux-firebase]
192 questions
0
votes
0 answers
Error: Context from react-redux not found. If you are using react-redux v6 a v3.*.* version of react-redux-firebase is required
When I built a simple React.js app using Redux and Firestore, the following error occurred. It requires v3.. version of react-redux-firebase, however, NPM doesn't support that version. The latest version is v2.4.1. Is there anyone who has already…

Denis Wang
- 21
- 4
0
votes
1 answer
Uploading a file in React redux firebase
I'm trying to upload a file to firebase storage but i keep getting this error:
Error: Firebase storage is required to upload files
at Object.uploadFile (storage.js:63)
at Object.uploadFile (createFirebaseInstance.js:139)
at…

Xhark
- 781
- 1
- 9
- 24
0
votes
2 answers
Include nested collections to firebase.profile
I'm currently working on a React / Redux / Firebase application.
In my Firebase Cloud Firestore I store user data, dynamically created after creating an Auth user.
In my index.js I use useFirestoreForProfile: true to get the corresponding user data…

Christian Aichner
- 366
- 3
- 18
0
votes
0 answers
Firebase: Email/Password auth works but other details of user doesnt get stored in users collection
I'm using firebase to handle authentication using email&password auth but I also want to store additonal user details to a collection with uid that is generated from email/password auth.
The user gets registered but other details are not being…

prvnbist
- 431
- 4
- 20
0
votes
0 answers
Add a delete function when viewing events (React-Redux-Firebase)
Here I let user to view the details of the event. There will be a button at the end of the event details for them to delete the event. However, how should I go about doing this?
Should I implement the delete function here in the viewing event…

Chen Ri Sheng
- 1
- 3
0
votes
3 answers
Can I query across subcollections with firestoreConnect?
I read that Firestore can now query across subcollections. Is the firestoreConnect HOC from react-redux-firebase capable of utilizing this feature?

Ace
- 1,028
- 2
- 10
- 22
0
votes
1 answer
Scoping during Login with React and react-redux-firebase
I am using react-redux-firebase for authentication and user management.Once users login, I want to navigate the user to their dashboard with an url of 'dahboard/userId.' When the user authenticate firebase gives us a response that has the user's ID…

Patrick Bentley
- 462
- 1
- 5
- 17
0
votes
1 answer
React Redux Firebase: Error on firebaseConnect - Cannot read property 'ordered' of undefined
I followed the example in the documentation under v2.0.0 > Read Me > Load Data (listeners automatically managed on mount/unmount) (direct link is not possible).
And replaced the connect call with the firestore specific one shown…

danielbker
- 392
- 1
- 3
- 21
0
votes
1 answer
React Redux Firebase: firebase.auth(...).signOut(...).then(...).error is not a function
This one particular firebase function hasn't worked for me when calling it as an action. Login, edit username, register, all of those work fine... except logout.
After looking at some tutorials and Google's own documentation, I thought this function…

J. Willus
- 537
- 1
- 5
- 15
0
votes
2 answers
How to transform async data in mapStateToProps?
I am using firestoreConnect() to sync my data from firestore with redux.
I am getting an array of employee objects back from firestore via state.firestore.ordered
an employee is shaped like this:
{
id: 'XtVe567...',
name: {
first: 'John',
…

Fellowwws
- 3
- 2
0
votes
1 answer
update root Component's property from the child Component with redux
I have two components the Root Component that contains list of data. the data is displayed from firebase. the second component is a DateRangepicker that helps picks to dates so We can filter the root's component data.
class Child extends…

Ayoub Bani
- 189
- 1
- 15
0
votes
2 answers
Firestore error - INTERNAL ASSERTION FAILED: Unknown wrong type: symbol
I develop web app with React which use firestore.
I try to create new document with data provided as js object:
this.props.firestore.add({collection: 'sample'}, data)
.then((docRef) => {...}
sometimes it works without any problem but in…

kubalobo
- 11
- 4
0
votes
0 answers
React/Redux/Firebase lazy load
import React, { Component } from 'react';
import Notifications from './Notifications';
import ProjectList from '../projects/ProjectList';
import { connect } from 'react-redux';
import { firebaseConnect } from 'react-redux-firebase';
import {…

Senik Farsyan
- 1
- 3
0
votes
1 answer
Why is the async/await portion of my callback getting skipped?
My callback function "login" gets called correctly when onSubmit is invoked in my LoginForm component, but the async/await portion of the code is skipped. Console.log 1 and 2 get invoked and I see them in the console, but console.log 3, which is…

user3735816
- 225
- 2
- 11
0
votes
0 answers
How to update firestoreConnect (using listener) in React-Redux-Firebase?
How do I force firestoreConnect to update? It pulls correctly from Firestore when the component mounts. But after Firestore data changes, it does not fetch the new data. Almost like there is no listener attached. Any ideas?
TodoList.js
export…

Let Me Tink About It
- 15,156
- 21
- 98
- 207