React Native or Ionic?

25

I need to create an App and would like to know which of your technologies is the most suitable for mobile development today.

  • What is the main difference between ReactNative and Ionic?
  • Which of the technologies is the most performative?
  • Where is the learning curve lower?
asked by anonymous 07.12.2016 / 12:36

4 answers

25

You should know that both of you try to solve the same problem of facilitating cross-platform development using web technologies.

React Native tends to be faster because it uses native components every time. But it has a larger learning curve because it skips a little bit of what people are accustomed to (use JSX ). Of course it depends on what you are accustomed to. If you know AngularJS, make it easier. The fact is that there is not a glaring difference to one side or the other.

Ionic is a hybrid and non-native technology . It tries to reproduce the behavior of each platform and may or may not resort to native components, even if it uses something native, it will be indirect, so not only will the performance be lower, but it does not always seem like it is using something made for that operating system. If you start using plugins to improve the experience, start complicating development.

React Native is native even , even though using web technologies, and produces a better user experience.

Being native helps performance and UX .

You tend to develop a little faster with Ionic, made the application, it works anyway on "all" platforms. It takes a little more effort with React Native.

Perhaps the main difference is that Ionic is "write once, deploy everywhere and React Native is" learn once, write everywhere ", at least that's what they are often called.

Be sure to consider other possibilities that may be better than these for you. It's that old thing, it does not have a clear winner. You have to get both, try until you find the one that will be most appropriate for each project.

The decision is whether it will cost cheaper, in theory, or whether it will offer a better product in theory.

    
07.12.2016 / 13:02
10

Ionic is a JS framework for making hybrid applications using HTML, CSS and JS. You need to use tailored plugins and APIs to use the native functions of the device.

React Native is a toolbox that uses the native components of the device and connects to each other to mount a native application. For example, you do not need to use CSS to style the UI components as they will be used in the platform's native components.

For example: Ionic = generic blocks of lego (that brand cheaper) you build a castle that looks like lego, has the same features but does not have the same performance as a native castle.

React Native = Original Lego Blocks you only need to learn to connect to each other using a special React Native to create a NATIVE castle.

In my point of view Ionic is still ahead because there is more time, there is a larger community and a lot of examples and tutorials out there, by using the Angular you have greater scalability when it comes to large projects.

React Native is still a baby compared to other frameworks, with a relatively smaller but as active community. Perfect for smaller / personal projects.

My opinion: Create 2 identical projects on both platforms, test their features and performance. See which one fits you best, after all it all boils down to which language you identify the most.

    
07.12.2016 / 12:55
-1

It depends on what you intend to do. In terms of performance, react native is better, since it generates the native code for each platform, something that Ionic does not do, since it is based on the use of webview.

    
16.11.2018 / 03:32
-3

For those of you who want to know more about how react works underneath, this is a great article link :

  

React Native is JS running on a VM and controlling the native UI

     

It's important to note that your application starts in the native environment, and the native then makes calls across the bridge and starts your JS app.

Other interesting links are:

link

link

    
17.06.2017 / 17:39