Live data from Hacker News

Angular v14 is now available

blog.angular.io

71–80 of 114 posts

Re: Angular v14 is now available

#71

Earlier quoted context omitted.

The Google Cloud Console is the most notable Google service built with Angular and my experience is that's one of the best advertisements for not using Angular. If even Google engineers theoretically just offices away from the Angular team can't make a performant Angular app, who can? The Angular Team act like it's a great feature that they don't give "special" support to in-house dogfooding teams, but that just leav…

I like how people make this jab at angular without acting like Facebooks site is so god awful. If react is so great why is the Facebook site terrible? Large companies have large company issues regardless of front end framework.

Facebook's site is awful, but performance, and specifically the performance of React on Facebook if I feel like watching profiling reports in Dev Tools, is rarely ever my complaint with Facebook's site. (When I have noticed performance issues with Facebook they were network/backend issues, not front end issues.) Facebook seem to have some pretty aggressive performance goals, meet them more often than not, and React seems to benefit well from that dogfooding (as release notes have sometimes mentioned that performance improvements were driven by Facebook's needs).

Anecdotally, having to profile the performance of apps I've built on Angular and React I'd much rather be profiling a React app than Angular any day of the week. I got so frustrated with Zone.js at one point I wrote an entire "Component Framework" for Angular to avoid Zone.js as much as possible and try to remove Zone.js entirely as a dependency in Angular apps that I need to profile.

Re: Angular v14 is now available

#73
post #43

Earlier quoted context omitted.

Next.js has finally solved React's mess But I can't agree more, Angular has for its whole existence of 10+ years always been more consistent. But it's not always about tech - Facebook's Marketing > Google's Marketing ...

Good marketing in this space is also about leading by example and eating your dog food. Facebook used React internally before releasing it. Every new web front-end at Meta is written in React. They also had a convincing story of how the runtime expands beyond the web (React Native etc.) With Angular, you’d be hard-pressed to name a Google service built using it. It seems to be a framework created condescendingly for…

It’s ok sometimes to admit that you just don’t know rather than to make things up out of thin air.

Re: Angular v14 is now available

#74

Starting with front end: angular or react? Seems like a good time to make a decision.

Angular comes with the advantage of you can learn “the angular way” and it will always be applicable. With React every time you pick up a new project you don’t know what you’re going to get.

I also have some serious doubts about the long term viability of React for what it’s worth. They made some choices early on in the project about how they decided to integrate with the wider web platform that made a lot of sense at the time but are now big liabilities that they can’t get rid of.

Like I wouldn’t consider starting a new project with React in 2022 if I wanted it to still be around for more than 5 years.

Re: Angular v14 is now available

#75
post #6

I'm kind of amazed Angular is still around. I hadn't heard of it for what feels like years at this point & assumed it was already in the graveyard. My company tried using it back in 2017ish but it was a pain for us at the time. Other than Google's own services, does anyone have any examples or experiences using Angular nowadays?

I work on a team that maintains a customer-facing web application that is built on Angular. It's been in production for the past six years.

I think Angular not quite in "the graveyeard", but probably only because a lot of large organizations outside of Google have large code bases that are built on it. (Having said that, I forget who they are — VMWare and CapitalOne and such, maybe?)

Still, it is definitely not a hot technology any more (if it ever was... I think the botched "upgrade" from the old "AngularJS" to the (completely different, almost a repudiation of a lot of the core ideas of the original) "Angular" framework shed a lot of users, so maybe Angular was never actually "hot" to begin with).

I definitely wouldn't start any new project using Angular, except in one specific circumstance: you have a large (relative to the size of your development team) body of existing software that uses Angular.

Then, you might want to share components and libraries across apps, and also leverage the skills of your existing Angular-using team.

I do find it somewhat harder to hire for roles specific to Angular development (I think because not many people want to learn it), and I also note that deep Angular knowledge isn't likely to be that helpful when looking for a new job, either. It counts for something, sure, but experience with React is far more sought after, and even Vue or Svelte is likely to be a little more useful.

Angular isn't horribly less capable than those frameworks — it does a lot for you, makes things like accessibility easy^W possible, is TypeScript-based which is overall a big win IMO — but there is, and has been, just too much fuckery around the edges.

I don't think Angular is really keeping up; I'd say it has been slowly falling even further behind the general state of the art.

The rollout of Ivy (its new, more performant rendering engine) was a multi-year boondoggle. It was late, it was painful to migrate to, third-party libraries still haven't really migrated so you still have problems/annoyances using those, and it sucked all their resources away from other important aspects like the Angular Language Service — so we didn't have good completion and linting in editors like VS Code, for quite a long time.

There was also nobody left to fix the testing story. They finally killed off Protractor, their bespoke E2E test monstrosity, after years of letting it languish, but the testing situation with Angular is still really mediocre and sub-par. Modern E2E frameworks like Playwright or Cypress support "component testing" (test components without rendering your whole app) for React and other frameworks out of the box, but not Angular.

AFAICT that is because Angular has this weird "NgModule" system where you construct these Angular-specific module things, and then they can import other Angular-specific module things... so rendering a component is not at all simple. The Angular team seems to be trying to make this optional, and Angular co-founder Igor Minar tweeted some "NgModule becoming optional soon, I think!" kind of teaser... before he left the Angular team and Google. That was several months ago at least; I also think he was the last founder to leave, so there are none left if I am not mistaken.

The i18n story recently finally upgraded to 'meh', after several years of being 'ugh'.

The DX is objectively bad — builds are very slow. There was some talk of taking the type checking out of band, so that it would still happen, but not block the edit-and-re-render iteration loop — but that hasn't happened. So in a non-trivial project that loop (which is typically the main loop) is slow.

Angular does do a lot for you, but in order to do so it monkey-patches DOM to hell and back — every async operation is monkey-patched so that it can do automagic change detection. That works great except when it doesn't work or when it makes things super slow, and it also makes debugging kind of nightmarish IMO — you end up in this 100s-of-frames-deep call stacks going through the zone.js async operation interception library. They are trying to make zone.js optional, too — or maybe it's technically optional now, but not really as a matter of practice.

TL;DR — Angular works okay, but after working with it in production for the last several years, I'd say is pretty mediocre; C- would not use again

Re: Angular v14 is now available

#76

It's good to see even experimental support for lessening the reliance on NgModules (which get in the way of appropriate tree-shaking), but I wish it weren't by doubling down on Angular's usage of non-standard Decorators. Requiring an experimental build flag in Typescript to even use Angular at all still feels like a red flag if not just outright poor taste in the framework architecture.

Yeah, that has always weirded me out, too, but I have assumed that because Angular is one of TypeScript's largest and most significant customers, that the flag is highly unlikely to actually be removed.

(?) I'm just guessing though.

Re: Angular v14 is now available

#77
post #35

Earlier quoted context omitted.

FYI there is 10 Angular vs 99 React (# of word occurrences) in a recent "who's hiring" thread [1]. [1] https://news.ycombinator.com/item?id=31582796

Big corporations don't post in that thread

Big corporations tend to copy what trendy tech companies do, and react dominates that market place. I haven’t look into too much but I’ve yet to see something like a boot camp even teach angular. It’s always react and friends.

Re: Angular v14 is now available

#78
post #74

Starting with front end: angular or react? Seems like a good time to make a decision.

Angular comes with the advantage of you can learn “the angular way” and it will always be applicable. With React every time you pick up a new project you don’t know what you’re going to get. I also have some serious doubts about the long term viability of React for what it’s worth. They made some choices early on in the project about how they decided to integrate with the wider web platform that made a lot of sense a…

Could you expand upon what you mean by liabilities? Are you referring to the ecosystem or something like hooks?

Re: Angular v14 is now available

#79

Earlier quoted context omitted.

You're confusing your own experience for the reality of the market. My last three employers use Angular. My current employer just replaced an AngularJS app with a new Angular 11 app for a Fortune 100 client. Go to a job listing site and you'll find just as many positions hiring for an Angular dev (often paired with C#/ASP) as you will React.

FYI there is 10 Angular vs 99 React (# of word occurrences) in a recent "who's hiring" thread [1]. [1] https://news.ycombinator.com/item?id=31582796

I just went to a common job listing site and searched for Angular and in my specific city. I got 78 result for Angular, 133 for React. There's a lot more to the job market than just startups, enterprise loves Angular.

Re: Angular v14 is now available

#80
post #35

Earlier quoted context omitted.

Big corporations don't post in that thread

Big corporations tend to copy what trendy tech companies do, and react dominates that market place. I haven’t look into too much but I’ve yet to see something like a boot camp even teach angular. It’s always react and friends.

I work for a Fortune 500 who has clients who range from Fortune 500 to Fortune 1000, I see TONS of Angular throughout the organization. There's also React, but a lot more Angular being paired with Java. Without data we're all just sharing anecdotes colored by our individual experience.
Post reply on HN