Live data from Hacker News

Angular 2 – Best Practises

blog.budacode.com

91–94 of 94 posts

Re: Angular 2 – Best Practises

#91
post #23
post #10

Earlier quoted context omitted.

My impression is that a lot of "mature" (aka boring old) companies like Angular 1 and the sound of Angular 2 over React. For a number of reasons: - In general Java and C# programmers like it. - It is made by Google (perceived as more "mature", business like) rather than Facebook (young kids). - It takes a lot of inspiration from server side development with its dependency injection and general terminology. - And Type…

> My impression is that a lot of "mature" (aka boring old) companies like Angular 1 and the sound of Angular 2 over React. React has been around for a while, but it is still only a library. Angular 1 and 2 are frameworks. Also Angular 2 is a complete rewrite and not even in final release. I'm not sure how that is boring or old. As with Angular 1, Angular 2 aims to be opinionated, so it should be clearer how to do thi…

> React has been around for a while, but it is still only a library.

You probably knew this already, but worth to point out that React never intended to be a framework.

This is a really interesting talk: http://2014.jsconf.eu/speakers/sebastian-markbage-minimal-ap...

Re: Angular 2 – Best Practises

#92
post #4

Could someone tell me one-or-more reasons to choose Angular for a new project, now that the React ecosystem is mature enough to compete with it? As I feel that from a conceptual/architectural point of view Angular is simply on a loosing path. https://www.google.com/trends/explore#q=angular%20tutorial%2...

If you run that some trends report - but with "Angular 2" - that shows a much higher uptake: https://www.google.com/trends/explore#q=angular%20tutorial%2...

Here is the same for CA: https://www.google.com/trends/explore#cmpt=q&geo=US-CA&q=ang...

Re: Angular 2 – Best Practises

#93

I'm going to get flamed for this, but I deeply regret the hours I put into learning Angular. I'm still disappointed that Angular 2 is such a sharp departure from Angular 1 and certain aspects of Angular 2 development, e.g. the fact there is still multiple CLIs, the fact that "compiling to Dart" is still a thing, and the fact that it's still unreleased give me no confidence to build anything in Angular. I can't help b…

It has been given the enterprise treatment. Enterprise devs love big.

Do they? I also share the same feeling as GP. On one of our projects we have made the decision to use the Angular framework and I do regret that choice now.

Re: Angular 2 – Best Practises

#94

Earlier quoted context omitted.

Essentially it boils down to whether you prefer a cohesive all-in-one framework/platform (angular2) or a collection of semi- and fully-independent libraries (react). Pretending that one of those options is the right fit for everyone is not productive. The only thing really missing from Angular 2 compared to the React ecosystem is jsx. Angular 2 and RxJS (and if you want throw in ngrx/store) allows a heavy focus on im…

I'm using typescript with React right now...and typescript does a decent job with jsx checking. (saved me from a lot of missing / wrong prop name errors) anyway, does typescript support some kind of template-string validation for angular2? If so, I'm going to really re-consider angular2 for my next project

Typescript doesn't directly, but Angular2 does (or will, this is just coming online) - our offline compiler converts your html templates into TS, and then regular TS typechecking can take over.

See https://github.com/microsoft/typescript/issues/6508 (and the GIF!)

Post reply on HN