I am almost done with my app which is built in React Native but I am not satisfied with overall performance and also haven't been able to build Android version. Should I ditch the React Native version and go with Native for both iOS and Android?
Please share your experience if you have gone through same situation. What do you recommend?
Hello Nabin.
Spend the time you need to make your application performant and working on Android.
You will face the same issues when building in Obj-c/Swift and Java/Kotlin. React Native is production ready and some of the biggest mobile apps are using it. (Discord, Shopify just announced they were going all-in with React Native)
Keep up the good work
Thanks Charles for the advice. Yes I think I need to focus on application performance rather than thinking of changing the tech stack now.
Absolutely. You got this, don't give up!
Have you tried flutter from google. It has really come a long way. I was able to learn it in about two weeks and port a web app in about 1 week. iOS and android worked right out of the box.
Working and slow is better than fast and inoperable :D
if youre almost done, no, I think you should work on performances. RN is almost as performant as native code. On another note, if youre interested in mobile dev, I suggest you try flutter for your next project.
Yes the app is almost done 80-90% I think for the first version. Is flutter any better than React Native?
My general advice, if you're looking to be deploying both IOS and Android, is to use solutions like React Native or Cordova where possible and only switch to native when constraints prevent it.
In your case, performance seems to be the sticking point. I would first profile the parts of my app that are slow, and see if I could squeeze out any performance. There's probably a lot of little things you can do, and this likely going to be quicker that switching to native.
If that doesn't work I'd switch to native, but I'd be absolutely sure that you can't optimize around it.
I agree with you Peter. I will now focus on performance enhancement rather than switching to Native option for now.
Hey Nabin,
If you already know Android and iOS native programming go for Native, but you must keep in mind how much time will consume development of two separate apps. If you don't know Android and iOS native programming good alternative to React Native is Flutter. Check it out, I haven't used it myself but I heard really good things about it.
Thank you for your feedback Nikola.
I have some experience working with both iOS and Android native app development but not certainly an expert. There will be a lot of learning during the process. I haven't used Flutter but isn't it same as React Native?
Does Flutter have any additional benefits over React Native? I think Flutter is not even as mature as React Native.
Well, it is a very similar concept, but not the same under the hood. I suggest you to closely watch this comparison between different 'frameworks' as Max covered it very well and in enough detail to help you decide which one is right for you.
https://www.youtube.com/watch?v=PKRXbLnfXXk
Thanks for the link.
No problem, I'm glad to help.