0.1.1 - The explosion of Firebase mobile
·
23 commits
to main
since this release
Hello guys, I'm Hubert Ryan. So since I started using firebase on my mobile application I feel that the way how we can manage the requests letting our code verbose making a simple requestion on the page or component could be improve. 🙃
So thinking a little about I decided release these firebase tools to be used with React Native Firebase by (@invertaseio). This library was inspired by the React Query code structure, so it'll be easy to use. 🔔
This version incluses the first way to request the docs:
- with autoRequest: init the page or component request the docs or doc in the first render 🌸
- snapshopt (real-time data): with snapshop you can automaticly reiceve real-time data without worring about unsubscribe fn 🌷
- formatterFn: It helps us with when we need everytime get the id from the doc reference and the data from .data function. So react-native-firbease-tools already returns to us the id but you can if you need formatter the data after that without letting our code verbose.🌳
- reinforced typing: all typing is reinforced with Firebase's own typing. This makes it easier for us to use TypeScript.🌼
I hope it be useful to everyone. A HUG FROM HUBERT RYAN. ✌️