Their documentation only shows how to set multiple documents with batch, but I need to add new docs and doing it one by one with a loop seems like a bad solution
const addHistroy = async (items: IHistory[]) => {
await items.forEach((item) => {
addDoc(historyCollectionRef, item);
});
};