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

250
Vistas
How can I send Firebase User Email to MongoDB using React Hook Forms?

Want to send my user email that I have from Firebase Login to my MongoDB Database. I'm using react hook form to Add New Product (product name, information, price, quantity etc.) and also send my User Email with this form data. I've solved this kinds of problems using Axios.Post method. Now I want to do this using React Hook Form . I need help solving this problem... Screenshot: This is my form data handler, and I've imported useAuthState(auth) to get user email

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

onSubmit= data => {
   data.email = user?.email;
}

Add this line in onSubmit and the rest of the code will be the same.

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