Questions tagged [react-redux-firebase]

192 questions
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…
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 =…
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…
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…
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…
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…
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…
2
votes
1 answer

How to pass in a state to the doc property in firebaseConnect

I am creating my first react app and I need to add a particular document with an id similar to the user id from my firestore collection to my app state. I am using redux-firestore. Is there a way I can pass in a variable (user_id) from the state to…
jude ugwu
  • 59
  • 5
2
votes
2 answers

How to populate roles in firestore with react-redux-firebase package

So i'm using this package, and want to apply this reciept to populate data from collection called 'roles' in my firestore to my firebase/profile data in redux state. In this docs says, that my roles collection must be a sibling of users collection…
2
votes
1 answer

React-redux-firebase: Uncaught Error: Supplied prop/s "dispatch" are reserved for internal firebaseConnect() usage

I am using Routing recipe for users to be able to view/redirect between pages depending if user is logged in or not (https://github.com/prescottprue/react-redux-firebase/blob/next/docs/recipes/routing.md-react-routerv4+redux-auth-wrapperv2). When I…
2
votes
1 answer

How to load firestore subcollection to redux store?

I'm having trouble loading firestore subcollection in redux store. I'm trying to load respective subcollection inside the child component. The component structure looks like this: Dashboard --Project list --project summary --comments I have loaded…
2
votes
3 answers

How to migrate to v3 of react-redux-firebase

I trying to migrate my project from react-redux-firebase v2 to v3 with the new ReactReduxFirebaseProvider & createFirestoreInstance My code works as is now. But after the upgrade to react-redux-firebase v3, it's not. Im getting this error: This is…
Jonas Alvarson
  • 411
  • 2
  • 6
  • 20
2
votes
1 answer

How to retrieve and load data from a Firestore subcollection using React-Redux-Firebase?

I want to fetch a document called settings from a Firestore subcollection, then load it into my local component (and Redux store) as a variable named settings with the following value: settings: { name: 'Waldo Garply', email:…
Let Me Tink About It
  • 15,156
  • 21
  • 98
  • 207
2
votes
1 answer

How to correct error with React-Redux-Firebase in Redux store

I am trying to implement React-Redux-Firebase in a Redux store with the following code: store.js import { applyMiddleware, compose, createStore } from 'redux'; import reducers from 'store/reducers'; import thunk from 'redux-thunk'; import {…
Let Me Tink About It
  • 15,156
  • 21
  • 98
  • 207
1 2
3
12 13