If I need 5 distinct documents from a Firestore collection. I don't need to query Firestore at all - I already have the document ID's. What is the best practice for fetching them?
I am currently using Promise.all
to fetch them in parallel but it seems like a single call to Firestore would be even better in terms of network and compute overhead? However, I can't find a batch read method for the web SDK. Is Promise.all
the best practice for fetching several documents at once?