Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can anyone speak to their successes with Angular post 2.0? I feel like any time it comes up, it's mostly horror stories about the transition or how shops have just moved on to Vue, etc. Is it worth still considering / where does Angular shine where React and Vue come up short?


I've worked with Angular 2-5 and it's nice; IMO a lot nicer than Angular 1.x, which I still do have to work with (supporting a customer-facing 1.6.5 app). I haven't done a big app with it yet, but from the small ones I've done I am highly confident that "modern Angular" is now better than Angular 1.x in all important ways (breadth of capabilities, reliability, tooling, etc).

So I don't think there will be horror stories with Angular 5 for new projects, unless you just don't like Angular/TypeScript. It's definitely not like "going the wrong direction" from Angular 1.x, although I don't personally have any read on how it compares to Vue, or React, or Aurelia or what have you.

I also haven't gone through a 1.x→modern transition (yet), so I can't really speak to that, but in preparation for doing it I've read everything I can, on this forum, various blogs, etc.

I'm not looking forward to it, but on the other hand part of me thinks of course it's easier, or at least more fun, to move to something like Vue, because it's like a rewrite, or half-greenfield project.

It's almost always more fun to rewrite something, although usually not advisable from any other business perspective.

We don't see as many people talking/blogging about Angular anymore, but I think that's mostly because it's gotten boring. Which can be a good thing.


Getting from 1 to 2 was quite an experience. Much discussed here and elsewhere.

Thereafter though, they have been just relentlessly polishing, improving, smoothing rough edges, making bundle smaller, making compilation and execution faster, etc. It is really a model of exactly what you would want, in terms of a joint respect for backward compatibility with forward progress.

I don't understand the "haters" in some peer comments. There are certainly interesting things to consider in terms of feature and approach differences between Angular and its competitors. You could certainly find bits where a simpler approach taken by one of the competitors is a quicker learning curve and smaller size.

But at the same time Angular has a substantial feature footprint, it has significant swaths of functionality that the competitors don't address. We've been using (leveraging like crazy!) the Angular forms system. Many enterprise and non-enterprise applications have lots and lots of forms. Not forms in the trivial sense of, some controls on the screen. Complex interconnected behavior. Angular brings a lot to the table here.


Agreed - I have had a pretty pleasant experience with Angular in general, although it wasn't without its issues. Tests ran clearly slower than in AngularJS for example - the overhead in compiling TypeScript and setting it up is greater. Dynamically creating components was a painful experience for getting things done just right - I created a very flexible drag and drop module with it, I had to create some machinery on my own for performance reasons, namely for managing binding to document instead of repeated elements to avoid perf problems (there's an open issue I had filed in the past on that problem, I think it is still present). File size was larger than I liked as well, the initial load could be better IMO.

On the flip side, I have found I missed some things about Angular that I don't have with libraries like Ember and React - Angular has the superior testing story for ability to control granularity of testing without sacrificing architecture. Complicated pure functions can be tested with ease in Angular due to its injector, but painful in other scenarios because one cannot easily mock out dependencies so easily or requiring some fairly poorly documented/written about tricks. Managing state in Angular isn't really a difficult issue, and yet it becomes exacerbated in other ecosystems due to their delegation of tools to the community and each of the tools not providing good examples/documentation on blessed ways to wire them together, leaving a lot of dev shops with lesser solutions.

At this point, I see the major libraries/frameworks as having a set of more minor tradeoffs for devs to weigh - Angular, React, or whatever will get you where you want to be given the time/resources. With whatever is chosen for the view layer, you will be making time tradeoffs of where you'll spend more time when using Angular, or React, and you will create restrictions as a result. That said, it is perfectly possible to accomplish probably almost everyone's needs with Angular in a timely manner, and probably would be faster to initial market to get a moderately complex app than something like React IMO due to not needing to build certain types of boilerplate/refactoring as much due to lack of foresight about needing a particular system in place in the app.

Note: I have almost 5 years of experience with Angular, and currently have almost a half year of experience leading a very complex React project.


So if I have no preference of my own, you'd suggest Angular over React? I want to get the product out soon and focus on generating business value rather than the framework itself.


All depends on your team - my current project is in React since it leveraged the team’s strengths/preferences in an optimal fashion. That calculus is different for different teams. I will say that it feels like using React demands more from the developers using it because it’s easier to create suboptimal abstractions, and we’re fortunate that we have developer talent that is much better than you get at most companies.


I did a project or two in React, then worked with Angular 2+ for our in-house project.

I like React because it's easier to set up and get working; you don't need some ridiculous dev environment just to say "Hello world". I think React does one thing and does it really well, and its flexibility makes it easier to mix and match packages to do what you need to do.

Angular is ridiculously opinionated, and very complete. But for big projects or for multiple projects with different people coming in and out of the project this can be a strong asset. We've had some big React projects where you have to go out and get Redux, then start thinking about observables, maybe you want TypeScript but maybe you want Flow, etc. Angular already thought about all of that, made decisions for you, and structured it in a standard way so that once you learn the conventions it's pretty easy to reason about any Angular project.

And as a front-end dev who got started on the Web in the Netscape days, I appreciate that Angular doesn't treat CSS as a bug to be fixed. React (and the kinds of people who work on React) seem to desire a pure JavaScript world, while Angular keeps a more familiar HTML/CSS convention on the template level.


We are working on 4-5 large admin apps (60-80 screens) using Angular and PrimeNG. After initial training the team (8-10 programmers) was very productive. The bundle size is a little large. But it has improved a lot with Angular 5.

Quite happy so far.


I tried it along with Vue and React and it was my least favorite by far. Feels very overengineered and the level of complexity relative to the others doesn't seem worth it. Probably the least flexible of the three too.

That being said, it's still a big improvement over everything else I've used that isn't React or Vue.

Angular 1.x interop seems like the only compelling thing about it in my opinion.


I have been working on an internal, form-heavy, app for a bank client for the past 6 months as my day job. I wouldn’t say I love Angular 2/4/5, but it does get the job done. Since Angular has a rather steep learning curve, having someone who has experience with it on the team will help avoid a lot of headaches and gotchas.

There are certainly some issues with Angular. For example, starting Webpack Dev Server is really slow (a minute or longer). Running a lot of tests with Kharma can be slow. If you know what the issues are and can either live with or work around them, then it is not that bad.


Angular is _fine_, but it's largely a "me too" framework that brings nothing new to the table. On the other hand, it insists on using a non-standard language, which breaks all of the tooling used in the rest of the JS ecosystem.

React and Vue are reasonable options, but as someone using Angular in production I'd urge you to stay far away from Angular and TypeScript.


You're entitled to your opinion, but for many people (me being one) first-class TypeScript support is absolutely a compelling feature.

I may not choose Angular for every project, but I would certainly never again use untyped JavaScript over TypeScript, for an app of any size, unless there was some unusual and very compelling reason.

(And it would have to be a really unusual reason; I can't even think of a hypothetical one.)

In my own experience, TypeScript is a huge advance over JavaScript without types, in both productivity (how quickly functionality gets implemented) and reliability (how many bugs ever make it all the way to a customer).

I will spice up that factual statement with a bit of speculation that will perhaps be more controversial: in my experience watching other developers move to TypeScript, I think the productivity and reliability gains generally apply to their work too, whether or not they personally like TypeScript.


> as someone using Angular in production I'd urge you to stay far away from Angular and TypeScript

Say what you will about Angular, but why the hate on TypeScript? I've found using TypeScript one of the better experiences I've had in the Angular ecosystem.


I understand the Angular part but why Typescript?


It shines by being extremely opinionated, but imo the tradeoffs are not worth it.

I was initially very curious about Angular2, but our relationship ended very quickly with the discovery of modules and dependency injection. It feels like some kind of arcane over-engineering compared to React's (and vue's) simple and sufficient import-and-use model.


We use it on an app that's a bit over 100k lines of our own code. It works fine, there are some gotchas but overall it's as decent to work with as any other framework. Build setup is a bit of a bear but that is largely due to our own requirements and patterns.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: