News for hackers. Stuff that matters.
Re:IDE for building React Native apps is now free and open s... by leoalves on Thursday May 26, 2016 @12:35PM (#11779310)
Most of the logic can be the same. But the UI is different. For the web it uses html elements and for native uses native ios/android elements. Even android and ios are different. That's the biggest advantage if compared to Adobe Cordova. A lot more performant
Re:IDE for building React Native apps is now free and open s... by jjnoakes on Thursday May 26, 2016 @01:40PM (#11779934)
It isn't about whether the underlying ui is different or not. Of course it is.

It is about whether the source application code can be the same. Today it isn't. But why not create a set of source compatible components that render to Android, iOS, and HTML?

I've seen projects approach this and I think it is a good idea. You get the typical lowest-common-denominator problem but if you have a decent way to mix in platform-specific elements where required, what is the downside?