2 ms·
Imho, I think you got it wrong here. I don't think you are supposed to make a production RN app out of the bat, by just using 3rd party dependencies. RN isn't
by muse900 9y ago
Imho, I think you got it wrong here.
I don't think you are supposed to make a production RN app out of the bat, by just using 3rd party dependencies.
RN isn't wordpress where someone can employ you and say I want this and that and then you go off install 50 plugins and thats it, your project is completed.
If you are installing a lot of RN 3rd party dependencies for a production environment then you are doing it wrong.
The best thing RN has to offer is being able to write React for parts and write Native code for heavy tasks.
You do need to go down and write your own components natively, sure if someone has done it before and its well maintained and you tested it and works for you then fine use that library, if not then don't install it but make your own.
For js components only components, then again if its very well maintained then use it, but nothing stops you for making the component that works for you.
RN is a bit less work than writing a Native app, but not too far apart. It's not meant to be for webviews and for people that just want to make a complex production app using 3rd party dependencies in very little time.
Its meant for dev teams that JS is their main language but do have someone that has an understanding of native code.
- whostolemyhat 9y agoCool I'll just roll my own Facebook and Stripe integrations then
- muse900 9y agoit depends, on my app I don't use Stripe so can't speak for its sdk, but I do use FB. At start I was using react-native-fbsdk but found that it was very limited and when I submitted a PR and went through the NDA procedure with facebook etc, then they delayed putting my PR which was fixing an issue out. I decided it would be easier for myself to bridge facebook's sdk, and so I did which was helpful as I've added quite more features to it which the react-native-fbsdk isn't providing. That said it always depends on your usage and if it fits your purpose, but I wouldn't rely on 3rd party devs to solve my issues.