Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

312
Vistas
'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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda