r/programming • • Sep 15 '16

Angular 2.0.0 officially released

https://www.npmjs.com/~angular
1.3k Upvotes

535 comments sorted by

View all comments

12

u/le_f Sep 15 '16

Can the react advocates here convince me to use it over angular 2? I have yet to try react.

4

u/theonlylawislove Sep 15 '16

There are many reasons, but the one I like the most is that React is really solving the "right once run everywhere" problem with React Native. You can write native Android/iOS/UWP/Windows apps as well, instead of just using electron to fake a web app being a native app.

6

u/gonzofish Sep 15 '16

Angular 2 has a tight partnership with NativeScript to do this.

I haven't tried it myself but that's what it's advertised to do.

6

u/i_spot_ads Sep 15 '16

exactly, you can write native mobile apps with Angular2 and TypeScript, NativeScript and it's awesome, also the TNS team is pretty fast at integrating new features, love it.

5

u/_fitlegit Sep 15 '16

React is not a "write once" solution, as per their own docs, they're a "learn once" solution

5

u/le_f Sep 15 '16

I remember checking out React native about a year and a half ago, or earlier. I tried to create a dropdown in a form but the control just wasn't there. I tried several libraries, none of which were being maintained, all of which were buggy, and eventually gave up and built it with ionic. Have you actually used it in production? At the time it felt like very experimental stuff.

→ More replies (4)

2

u/[deleted] Sep 15 '16

You can do that with NG2 and nativescript

→ More replies (9)