A lot of the methods are async and return promises. We don't run into issues in our code base because we did async/await on everything, but the documentation shows how to use the JS SDK with Promise objects:
https://firebase.google.com/docs/firestore/query-data/get-data
What's in this PR?
A lot of the methods are async and return promises. We don't run into issues in our code base because we did
async
/await
on everything, but the documentation shows how to use the JS SDK with Promise objects: https://firebase.google.com/docs/firestore/query-data/get-data