Firebase – How do I check if collection exist in firestore (not document) in JS
Hoi, I would like to check, using React javascript, if a collection in the Firestore already exists, no matter if it's empty or not. I tried: if (collection(db, ref)) // is always true somehow Any ideas? Thanks!