Choosing between React Native and Angular Ionic when building mobile app
Kamil Blockchain☆Przeorski
CEO of Experty- crypto geek - Zürich Open Blockchain meetup founder (est. 2019)
FYI: do you need help at ReactJS or React Native development? Check my Linkedin profile for the details.
Choosing between React Native and Angular Ionic when building mobile app
Solving the dilemma behind the title of this article for an experienced front-end developer comes down to answering a simple question. Which front-end technology do you prefer? If you are using React for every app or webpage that you are building, you should probably choose React Native. Similar, if you are experienced with Angular or it’s second release, the natural choice would be Ionic. But what if you are completely new in the front-end development and you need to choose the best solution?
When choosing between the two of this, you need to be aware that both of them are a little bit different. First of all code written using Ionic will run regardless of platform. RN requires having in mind platform-specific behaviors, so there can be a situation when on Android you would have a highly customizable component to your disposal, but on iOS you will have to use something else. React Native requires JavaScript and it is rendered with usage of native components. That leads to achieving slightly better user experience and performance, as a developer would need to follow patterns imposed by the operational system. Ionic for example, as it is based on Google Angular, may require additional knowledge of Typescript from a developer. As opposed to that, choosing RN requires time to get familiar with React JavaScript syntax extension - JSX. But while it is not required, you can write the code using plain JavaScript, it often appears to be quite handy. Another difference is Ionic gives you bigger variety of pre-made and pre-styled components, but you will lose much of the flexibility. On the other hand when using RN, you would need to create components by yourself and do much of the styling by your own.
Finally there is a concern about Angular 2 being fresh release and there is a lot of work to do around it. So you can risk encountering unexpected problems or difficulties. RN as opposite has a very good opinions. We are using it in our company for a while now and we are very satisfied with it.
Co CEO Appstract Software - Headless e-commerce, Magento, Shopify, React, React Native, NodeJS, JavaScript team
7 年First of all there is no comparison between these two libraries cause there are based on different eco system. React native is using iOS/android based native components or some common one, but all the code is still transformed to native code specific to the platform. Ionic native is still based on webview and access to native components is based on Cordova. Moreover you have quite a lot of work to do to integrate native iOS / android plugin or library in Ionic cause you have to implement a cordova plugin first. In React you can jest expose methods or events from your specific platform plugin So react bridge can ser it and thats all. I even don't mention the performance comparison between these in my opinion different technologies which don't have much in common besides they are both JS based ;)
Full Stack Software Engineer - Interested in Rust, Web3, and A.I.
8 年React Native and Ionic doesn't give the same experience. With React Native you're leveraging native API's for truly native mobile app development. Ionic only uses WebView and can't use native API's. Angular 2 with NativeScript "Angular Native" is way to go if you want to truly build native apps using Angular 2.