CSFrequency / react-firebase-hooks

React Hooks for Firebase.
Apache License 2.0
3.58k stars 305 forks source link

writing data to firestore #198

Closed vinodhum closed 2 years ago

vinodhum commented 2 years ago

Hi I am new to firebase, I was able to make retrieve data using react-firebase-hooks but cannot find any documentation on how to set, add or push (write) to documents or collections or how to get ref from hooks ?

chrisbianca commented 2 years ago

@vinodhum the majority of the hooks in the library are about reading data. There is an open feature request for hooks to support mutating data https://github.com/CSFrequency/react-firebase-hooks/issues/36, but its not something that is actively being worked on at the moment.