Reputation: 43
Iam new to angular 2 and would want to build a hybrid app using angular2. I see that ionic framework can be used or nativescript can also be used. I have used cordova with angular1 but do not know if it supports angular 2 also. Which is the best framework to build a hybrid app using angular2 and why?
Upvotes: 2
Views: 545
Reputation: 338
There are lots of mobile frameworks support angular 2, even React native you can use React native in Angular 2.
I have use many different hybrid mobile frameworks and at last I find nativescript is best. (For non hybrid frameworks ,Qt is very good.)
For Angular 2: After rc 5, It is very stable.
Upvotes: 2
Reputation: 384
Both NativeScript and Ionic will enable you to build a mobile application using JavaScript (Angular 2).
With Ionic (version 2) you can use html and creating new elements is relatively easy, you just style the element with css. The application is hybrid as you mentioned - native app with webview, where your code is executed.
With NativeScript you use XML and the set of elements you can use is limited to components that are mapped to native components (ie. there is no html select box). The result is native application - no webview.
My opinion (I have used both technologies recently) - With Ionic you are faster in development and prototyping. With NativeScript you get better performance.
Both of these technologies are being developed and are not stable - because Angular2 is not stable as well.
Upvotes: 0