Re:Angular 2 Beta released
by haxa on Tuesday December 15, 2015 @02:50PM
(#10739994)
Anyone has the experience working with NativeScript and Angular 2? How's it compared with React Native? And is there any chance this will evolve to a viable alternative to developing native apps using web technology?
[ Parent
| on HN ]
Jen from Telerik DevRel here...we are working with Google to ensure that Angular 2 works great for your NativeScript apps. Please check our blogs at nativescript.org for forthcoming info on performance comparisons and how-tos. I'd encourage you to visit our getting started guide on the above web site to see how you like NativeScript!
> Angular 2 works great for your NativeScript app
How is it going to work exactly ?
Great. It's right there in the sentence you quoted.
Great doesn't the describe the WAY it is supposed to work. I asked HOW like IN WHICH WAY.
Re:Angular 2 Beta released
by robwormald on Tuesday December 15, 2015 @05:44PM
(#10741055)
Angular2's architecture is split in such a way that the rendering layer is separated from the application code. This allows swapping out the render layer - enables stuff like NativeScript and React Native renderers, server-side universal and running your app in a web-worker, dispatching to the main thread to render.
Re:Angular 2 Beta released
by burke_holland on Tuesday December 15, 2015 @05:38PM
(#10741021)
As a plugin for the NativeScript runtime. Check this video from Angular Connect which goes over exactly how it works. https://www.youtube.com/watch?v=4SbiiyRSIwo
How is NativeScript related to AngularJS ? is it the same team ?
No, NativeScript is a Telerik product. Angular is a Google/ Open Source project. I'm not sure how they are related, I haven't seen anyone use the two in conjunction.
There are some samples available, for instance this one:
https://github.com/NativeScript/sample-ng-todomvc