Skip to main content

All Questions

1 vote
0 answers
40 views

React app won't write to Firebase Realtime Database

My React app won't write to my Firebase Realtime Database. I am doing everything exactly as the Firebase tutorials say but nothing. No error messages in the console or requests in the network tab ...
Superintendent UI's user avatar
0 votes
1 answer
72 views

Rules in Firebase Realtime Database for CRUD operations in React

I am using two firebase services: the Realtime Database and the Authentication in my React App. I have used the email/password authentication and a basic database for an inventory app consisting of ...
Tanishq Jadhav's user avatar
0 votes
1 answer
24 views

TypeError: databaseRef.child is not a function, while saving data to the realtime database in the react project

I have created an react project, here is the code:- AuthContext.js:- import { useContext, createContext, useEffect, useState } from 'react'; import { GoogleAuthProvider, ...
Prasad B's user avatar
0 votes
1 answer
42 views

Unable to save data in the firebase realtime database in the react project?

I have created an react project, here is the code:- AuthContext.js:- import { useContext, createContext, useEffect, useState } from 'react'; import { GoogleAuthProvider, ...
Prasad B's user avatar
0 votes
0 answers
24 views

Firebase Realtime Database Data Loads After Component is Rendered

I have this React component here: import Navbar from "../../nav/Navbar"; import './Cold.css'; // API Calls import { getCold } from '../../api/cold/get' function ColdWork (){ const [...
Adam391's user avatar
  • 105
0 votes
0 answers
33 views

Problem with fetching a user from Firebase with an id that's a variable

I am making a react app and I'm google firebase. I made a collection of users and each user whose document ids are the user's emails. First I get the authUser and there I get the email of my current ...
Sena's user avatar
  • 1
0 votes
0 answers
23 views

Firebase with image url

localhost My data in firebase ref = db.reference('/home1') ref.set({ 'slider': [{"id" : "1" ,"name":"first","url":"images/gateaux/2D3A3227.jpg&...
mkty's user avatar
  • 1
1 vote
1 answer
59 views

Firebase not connecting With the react-app

import React, { useRef, useState } from "react" import { Form, Button, Card, Alert } from "react-bootstrap" import { useAuth } from "../contexts/AuthContext" import { ...
user avatar
2 votes
1 answer
125 views

How to create a transaction history based on time in React Firebase

I have a website display like this: Place to input transaction data If the submit button is clicked, the data sent to the API will be like this: { "-NjE-07WS5julczaO0ZD": { "...
Balimo's user avatar
  • 29
0 votes
0 answers
85 views

Firebase Dynamic Links with ReactJS

Can I write Firebase Dynamic Links code in React? I tried the following but it's not working const dynamicLinkParams = { link: link, domainUriPrefix: "https://adanima.page.link", ...
Heer Vora's user avatar
0 votes
0 answers
22 views

how do you access an array that has elements from firebase in the global scope in javascript [duplicate]

i tried accessing the array of elements from firebase and it returns an empty array maybe its because firebase takes time to load the data but the code would be already done if i try to put the array ...
wayne chirwa's user avatar
0 votes
2 answers
76 views

How to make multilevel index for firebase realtime database

I want to setup multi-level index in my firebase realtime database. My database structure looks like this, in which the root key name is jobOpenings which contains child of job opening id (for ...
Madhav mishra's user avatar
0 votes
1 answer
352 views

Unable to resolve "firebase" error in React Native project

I try to use Firebase in a ReactNative project. I added all the configurations data in a config.js file : <Project_Name>\src\firebase\config.js import * as firebase from 'firebase'; import '...
Freddy's user avatar
  • 69
0 votes
0 answers
23 views

I'm experiencing network issues while attempting to connect to a Firebase database in my React project.(ubuntu)

I am trying to connect the Firebase database in my react project but network error occurs, My internet is working fine but still it gives error, I am using ubuntu OS. I try this cmd in terminal, npm ...
Kariz Ali's user avatar
1 vote
1 answer
164 views

How to render a list from firebase realtime database?

I need to render a listing page where I can show the data items fetched from the firebase realtime database. I am using @react-native-firebase/database library to read the database. Also I want to ...
Madhav mishra's user avatar

15 30 50 per page
1
2 3 4 5
76