'firebase web or react-native-firebase
I'm building a React Native app with Firebase for backend, and I couldn't find good information to help me decide if I should go with the official firebase web library, or react-native-firebase.
This article from Firebase says
"With the updates in the 3.1.0 SDK, almost all of the JavaScript SDK’s functionality should now work smoothly in React Native"
but at the react-native-firebase github docs, it says
The Web SDK doesn't support many of Firebase's services.
Normally I would decide to go with the official Firebase Web SDK, but I see there's many people that complain about it, so I'm not sure what to do. Any advice/help would be appreciated. Thank you.
Solution 1:[1]
In my experience react-native-firebase is very good. There are very few things you can't do that you could do with the web version and the maintainers are very helpful.
My only complaint is that unit testing is very difficult/impossible. If you intend to test your app properly you will be limited to integration tests with something like detox.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Liam Clark GutiƩrrez |
