Answers for "reactjs get one document from firestore"

0

reactjs get one document from firestore

firebase.firestore().collection("polja").doc(documentId).get().then((snapshot) => {
  console.log(snapshot.data())
}).catch((e) => console.log(e))
Posted by: Guest on April-07-2022

Code answers related to "reactjs get one document from firestore"

Code answers related to "Javascript"

Browse Popular Code Answers by Language