React Native and hybrid? [closed]

0

I wanted to know if react native and really hybrid, like ionic, that you program a code only and do export to both platforms (IOS / ANDROID), or similar to xamarin, that you do the 2 different codes.

In project development I program as "only one platform at a time, or each individual."

    
asked by anonymous 25.06.2018 / 20:06

1 answer

2

With React Native, you program in Javascript and your code will be "translated" to native components of each platform. When you declare Text , for example, it will translate to UIView in iOS and TextView in Android.

With Ionic, you also program in Javascript, but your code will run within WebView , which can generate a performance difference.

I believe that any tool for hybrid development will offer ways to make customizations for the different platforms, since each platform has its peculiarities.

In this way, the normal flow of development, in both Ionic and React Native, is to make a code only for both platforms. If necessary, there is the possibility of making customizations for each platform.

    
25.06.2018 / 20:55