reactfire
reactfire copied to clipboard
Please clarify in README about the relationship of this project with React Native Firebase
React Native Firebase: https://rnfirebase.io/
I have some questions that I think they should be mentioned in README:
- On smartphones with React Native, I should use React Native Firebase or ReactFire?
- If ReactFire is also usable on smartphones, how does it perform differently compared to React Native Firebase?
- The suspense hooks of ReactFire are very cool. React Native Firebase doesn't have hooks. Can I/should I/how do I use ReactFire together with React Native Firebase so that I can use the hooks?
FWIW, i was able to install using:
expo install firebase
yarn add reactfire
however I keep getting an error like: TypeError: undefined is not an object (evaluating 'this._warmupSubscription')
I think is due to the Suspense thing. Not sure yet how to fix it
I think is due to the Suspense thing. Not sure yet how to fix it
In that case, you can follow this instruction to enable suspense (and you need to put your components inside <Suspense> component):
https://github.com/FirebaseExtended/reactfire/issues/332
Hello team can you provide some responses to the original question, we have the same doubts , thx