5 ms·
One specific reason I am personally choosing Angular 2, is that the Ionic2 Framework also uses Angular 2 [0]. So I can re-use code from my front end website on
by laurencei 10y ago
One specific reason I am personally choosing Angular 2, is that the Ionic2 Framework also uses Angular 2 [0].
So I can re-use code from my front end website on my native mobile apps for the new startup I'm launching. Much less code = quicker time to MVP, and lower cost of development.
[0] http://blog.ionic.io/angular-2-ionic/ http://blog.ionic.io/angular-2-ionic/
- petetnt 10y agoHave you tried React with React Native[0]? [0] https://facebook.github.io/react-native/ https://facebook.github.io/react-native/
- Secretmapper 10y agoBTW 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.
- nbclark 10y agoNot 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.
- Secretmapper 10y agoFair enough, I'm afraid I didn't explain it properly
- madeofpalk 10y agoIn 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.
- Secretmapper 10y agoHave you tried it recently? I don't think I've had this problem with recent versions.
- lacker 10y agoYou might want to check out https://github.com/necolas/react-native-web 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.
- mbesto 10y ago> So I can re-use code from my front end website on my native mobile apps for the new startup I'm launching. Just to be clear, Ionic is _not_ native.
- mkolodny 10y agoWhile Ionic's not native, even Ionic 1 is close enough for most apps. Ionic 2 is supposed to be 3-5 times faster. So for startups that need both iOS and Android support, but have small teams, Ionic's 100% iOS-Android code reuse remakes a lot of sense.
- pbhowmic 10y agoAs did I and for the same exact reasons. I am the only dev on the project (it is a startup) and we need to get to MVP fast.