How to set new doc in firestore
I want to add data to cloud firestore but I can't find any guides in the documentation
ReactFire is meant to help you consume data from Firestore in React, not provide it. Use the vanilla Firebase JS SDK to make any updates to your database.
Thank you so much @aadito123 This helped me
Here's a code snippet from the example app that may help. It shows getting the initialized Firestore SDK with useFirestore and then adds a document in the addAnimal function.
https://github.com/FirebaseExtended/reactfire/blob/363c7c65d2853aa16bbad8b8f13ad81efadf9cea/example/withoutSuspense/Firestore.tsx#L36-L48