Re:Angular 2 – Best Practises
by Secretmapper on Monday June 27, 2016 @08:22AM
(#11985683)
BTW to parent, one big advantage of react-native over ionic is that it's not a wrapped web app, but a javascript/react app that compiles to an actual native app.
The performance difference and development experience (no silly css hacks) is very noticeable.
Not to nitpick, but I don't believe react native "compiles" to a native app. The evaluation of the JS in JavaScript Core is passed of to native code to layout native views. The interactions are then posted back into jscore. So while closer to native compiled code performance, it's still a bit different.
Re:Angular 2 – Best Practises
by Secretmapper on Monday June 27, 2016 @12:34PM
(#11987303)
Fair enough, I'm afraid I didn't explain it properly
Re:Angular 2 – Best Practises
by madeofpalk on Monday June 27, 2016 @08:23AM
(#11985685)
In my experience code-share between React and React Native is extremely difficult as your UI code is so significantly different with native components and what not.
At least with Angular/Ionic you can directly share UI code between the two as its all HTML and CSS.
Still, I really enjoy working with React and React Native because I it's one API and mental model to learn.
You might want to check out https://github.com/necolas/react-native-web - that has implementations for a lot of the React Native primitives on the web, to make code-sharing easier.
Re:Angular 2 – Best Practises
by Secretmapper on Monday June 27, 2016 @12:35PM
(#11987314)
Have you tried it recently? I don't think I've had this problem with recent versions.
[0] https://facebook.github.io/react-native/