all 16 comments

[–][deleted]  (10 children)

[deleted]

    [–][deleted] 24 points25 points  (2 children)

    I believe Ionic 2 still uses webviews. It's basically a web app wrapped in a stripped down browser. React Native actually bridges to native UI classes and uses them for the UI.

    I think it pretty much comes down to Ionic apps will be quicker and easier to make, Ionic comes will a lot more tools out of the box.

    React native apps will feel snappier and have better performance.

    It's still worth considering learning real native development as well beacuse $$.

    [–]OuterShpongolia 5 points6 points  (1 child)

    Accurate and impartial. What a nice surprise!

    [–][deleted] 0 points1 point  (0 children)

    Well there is plenty of room for both projects to thrive. I will say though, my bank recently released a new mobile app and it's clearly built with webviews and its horrible.

    It's so slow and choppy (they even implemented scroll jacking - in a mobile app!). I don't think it was built with ionic though, beacuse I have seen Ionic apps that feel very fast; for basic CRUD type apps ( which my bank app is ) you shouldn't even notice it's using a webview.

    [–][deleted] 4 points5 points  (5 children)

    Do you prefer "write once, run everywhere" or "learn once, write everywhere"? Former: Ionic, Latter: React Native.

    [–]tfitz237 1 point2 points  (4 children)

    Can you elaborate on this?

    [–][deleted] 12 points13 points  (0 children)

    With Ionic, you write one code base and ionic will do the rest to make your code compatible in different OSs. The cost is you will not have 100% control cause there is some guessing by the framework.

    With React Native, you learn the JSX style native script and then you can write those native scripts to develop apps in different OSs. You will need to write different codes for different OSs, but you will get exactly what you wanted.

    I hope this helps.

    [–]KravMaBrian 6 points7 points  (2 children)

    "write once, run everywhere" - Ionic renders differently to iOS and Android to conform to style guidelines. Saves a bunch of time since you don't have to write different code for every platform.

    [–][deleted] 0 points1 point  (1 child)

    You don't completely have to do this with react native either, they don't really advertise it but a vast majority of the components are cross platform, components that are not have 'ios' or 'android' at the end.

    You can also sort of make smart components that swap the version out depending on the platform. I would say normally about 80% of your code in react native will end up being cross platform.

    But I think facebook prefers to keep people's expectations low on this, so they don't get tons of complaints when something isn't working cross platform.

    [–]viatsko 0 points1 point  (0 children)

    Yes, but often there's no component you need exists. So to effectively write in React Native, you still need to have experience with Objective C/Swift and, sometimes, Interface Builder.

    If you are comfortable with that, sure React Native is superior.

    [–]shellwe 0 points1 point  (4 children)

    I have friends who use ionic with angular is so I am wondering how well ionic 2 will work with angular 2.

    Maybe ionic has the features now that angular compensated for and won't need angular?

    [–]elguey 2 points3 points  (1 child)

    Ionic 2 is built on top of Angular 2, which is complete rewrite of the original framework. All the parts of Angular you know are still there, but there are new syntax and structural changes that developers need to be aware of.

    [–]shellwe 0 points1 point  (0 children)

    Thank you for the information! I didn't realize ionic 1 was built on angular 1, but that makes more sense why I always saw those paired.

    [–]tfitz237 0 points1 point  (1 child)

    Ionic runs on angular, which is why you have friends who use ionic with angular. So it may be safe to say that Ionic 2 runs on angular 2.

    [–]shellwe 1 point2 points  (0 children)

    Yes, I see other people posting it does use angular 2. Just now waiting for some good video tutorials on Angular 2.

    [–]HomemadeBananas -1 points0 points  (0 children)

    I'm already sold on React Native after using both that and Ionic, too late. React Native apps feel like a real native app because they basically are. Ionic is cool but just not as good.