This week I published an app built with React.js that was wrapped with Cordova for Android and iOS. Initially this was a pretty fun way to build an app, but towards the end when trying to fine tune the UI and other things on each platform it started to get pretty painful because of needing to wait for React to build followed by a Cordova platform build, and then waiting for the emulator(s) to load.
I’d like to try building my next app using React-Native because of the live loading, but I have a few concerns. My main concern is that right now I’m not wanting to learn or write any native code in Java, Obj-C, or Swift. One thing I’ve liked about Cordova is the community has made lots of plugins for things like in-app-purchases, advertisement frameworks, sqlite, etc., so that I can just install them and then write my code in JS.
How frequently, if at all, would I need to write native code if using React-Native?
My second question is are there any major limitations that React-Native can’t do that React does? I realize this is a broad question, but I’m thinking more big picture larger issues rather than the nuances.
Any suggestions for a noob going from React to React-Native would be appreciated before I dive in. I’m starting to feel comfortable using React.js, and figure it’s time to dive in to React-Native now.
Thanks for any advice you can offer.