react firebase add doc to collection

Solutions on MaxInterview for react firebase add doc to collection by the best coders in the world

showing results for - "react firebase add doc to collection"
Sophie
16 Mar 2016
1firebase
2  .firestore()
3  .collection("Users")
4  .doc("mydoc")
5  .collection("Activities")
6  .doc("Database")
7  .set({
8    key: "1",
9    value: "",
10  })
11  .then((ref) => { console.log(ref) });
12