Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

309
Views
'getDoc' is not exported from 'firebase/firestore'

enter image description here I'm trying to use firebase hooks with firebase 8.0.0 I keep getting this error : 'getDoc' is not exported from 'firebase/firestore'. Can anyone point out what I'm doing wrong? Thanks.

Edit: I've switched to Version 9.21.0 but now can't use firebase at all. Here is the code for my firebase.js file. Any help greatly appreciated.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

The top-level getDoc function was introduced in version 9 of the Firebase SDK. In version 8 and before, you'd use the something like firebase.firestore().doc("path/to/your/doc").get() to do the same.

Also see the Firebase documentation on getting a document in version 8 of the JavaScript SDK.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!