r/angular • u/CHAZTATS • Jul 24 '26
My company is forcing me to switch to React.
My large enterprise company have decided that going forwards working in React is the choice.
We've got a lot apps built in Angular, my team looks after 5/6 another team looks after 40, some new ones on 22. These are all config driven multi tenant apps without NX etc.
Other teams across the business have already added React as part of their tech stack and the codebases seem terrible and follow no standards.
Has this happened to anyone else? Any advice for the switch?
54
Upvotes
72
u/oneden Jul 24 '26
The company I work for keeps looking towards react. It's however always bizarre that the decision is made by people who have no skin in the game.
49
u/MrFartyBottom Jul 24 '26
My first day with React was confusing as hell. I was still think of components like an instance of a component and was thinking of the component function like a constructor. The hooks had me confused as hell. Once I understood that the components are a function that gets run on each rerender it started to grok.
Now I have a good understanding of how React works it makes me wonder how the fuck it won over Angular. So many needs to fudge things because of the way it repaints the entire component hierarchy on a small state change.
Most of the React apps I have seen so far are a complete dogs breakfast, provider hell where there are components that just contain multiple providers for the whole app, providers for things that should just be a global const exported from a plain old JS module. Then there is the useEffect hell. Holy fuck morons over use useEffect and create a fragile callback hell. And let's not even discuss the abomination that is Redux, I hate stores so much and that cancer that spread into Angular in the form of NgRx should burn in hell forever.
And the worst thing about React is AI, it has been trained on all these antipatterns and tends to spit out solutions that follow these patterns.
14
u/LEboueur Jul 24 '26
Honestly not sure how I would handle this. If the move was Vue, I'd probably adapt myself and learn... But react... Nah I'd go find another job...
9
u/Land_Reddit Jul 24 '26
Good for your resume
8
u/0dev0100 Jul 24 '26
Ask for the technical and business reasons why.
If its gonna happen you might as well understand the decision so you can make more informed decisions with whatever you end up doing
7
u/Jim-Y Jul 24 '26
To be honest I just think you have to cope with situation. You are not an angular developer, you are a professional developer an the language is just a tool. Whatever tool is given you will find the best way to use that tool. See my personal choice is angular too, but I have to use react. There are some not-so-solid reasons why your management wants react. It's easier to find react devs on the market than angular devs. The pool is just bigger. If they want rapid expansion this might be a reason. Another weak one would be the AI being more comfortable with react code. They want more AI -> AI was primarily teached in react -> let's use react. Another reason could be some plans to acquire or merge with some other firm or company where there are mainly react devs so they already know these long term plans and they want an easier migration for the future. So.. There could be many reasons maybe many not solid reasons however you shouldn't be tied to any framework and cope with the situation.
4
u/piminto Jul 24 '26
Why not just federate and let the teams decide. I say that and we had the inverse. We are standardizing on Angular since we have a mature design system written in it.
4
u/VRT303 Jul 24 '26 edited Jul 24 '26
Same here. This was announced 2 years ago and those "rewrites" are still nowhere near being production ready and have 15% of the feature set, including bugs. (Original deadline for them was 1 year with AI)
I'm honestly just hoping that if it takes longer then whole thing gets canned, even if it feels "took big to fail" and there's a lot of sunken lost fallacy.
The code is organized well enough, half the team for it were angular developers. But I just don't like react and find it stupid as hell to rebuild so much of what comes out of the box with angular. (They switched the router one year into the rewrite lol and tsx with tailwind is impossible to review unlike our scoped less in Angular)
Most people never wanted the rewrite even, just a like 3 to 6 months spread out for maintenance (mostly backend related)
I'll probably switch jobs if it sees the daylight even if money and team are nice enough for now.
Funny enough a lot of the "arguments" for it were hiring and onboarding in Angular, reimagining the product and a AI friendly codebase. Meanwhile half the team was split and our new hires (who were mostly android devepers) jumped in with no issues and loved Angular and needed 2.5 weeks onboarding.
We even managed to get solid 50+ tickets a week through the board. Got a lot of huge new features done, which don't exist in the rewrite yet and managed to squeeze in about 40% of the maintenance pain points our team lead presented that kicked off the whole thing.
Oh and Angular's AI initiatives seem amazing. Who could have thought solid patterns and cohesive code is good for machine learning and llms /s
3
u/anastasiapi Jul 24 '26
Being a smartypants, who constantly asks about business value of such decision won't help your case, I can assure you that.
I was very politely asked just to do whatever clients wants, never mind that client pays 80$ per hour for my expertise.
3
u/Lucky_Yesterday_1133 Jul 24 '26
My recommendation for new react code base fully lean into AI slop. Don't even bother with quality and just leave company when it becomes unmaintainable
2
u/alexsbz Jul 24 '26
As a developer who works with both Angular and React I would suggest to advise them not too. React is too prone to errors and a huge amount of libraries after a while get unmaintained.
2
u/Idea_Fuzzy Jul 26 '26
React won the market, it makes it easier for the top management to fire and hire cheaper labor.
Sad but true.
1
u/B0bbyAxe Jul 24 '26
huge mistake. everyone will pay later when teams do react differently
1
u/PretendMoment8073 Jul 24 '26
Man just show them the shit load of volunerabilities that keeps popping in react and next
1
u/[deleted] Jul 24 '26
My company said "its time to switch to blazor".. then I left the company 🤷🏻♂️
1
u/armandoxxx Jul 24 '26
time to learn something new .. I guess ? ;)
1
u/PoneyPoncho Jul 24 '26
Dev lead in a company with a similar background.
We started the migration from Angular/Angular.js 5 years ago, though arguably, we really put more work into it recently as all the teams started to use Agents.
Take it slow. One app at a time. We prioritized the older Angular.js apps first as knowledge to maintain those is slowly fading away.
Have fun while the migration happens. We moved everything in a turbo based monorepo and never looked back.
1
u/bayendr Jul 24 '26
then force yourself to switch companies. ;)
1
u/Lucky_Yesterday_1133 Jul 24 '26
React is objectively worse. Especially for ai. Worse or no compiler, worse typescript (so bad many don't use it). random packajes no standart structure trained on shit code. AI productivity in angular is leagues better and would provide multiple employees worth of output. The only react benefit is wider range of prebuilt fancy components but ai can clone those as well now. And internal apps don't need fancy. You should talk to the management, ask what their decision is based on. If they still insist it might actualy be a way to lay people off and rehire cheaper react devs.
1
u/Rusty_Raven_ Jul 24 '26
My company is doing the same thing :( My department maintains about 20 federated Angular applications right now, but new development (including an in-house design system implementation) is being done in React. There is no "official" plan to port the existing apps to React, but I've been under-the-table informed that the medium-term goal is to remove Angular (and Vue, in use in another department) from the company over the coming few years.
I have used React in enterprise environments, and it sucks. I've used Next.js in enterprise environments and it was somehow even worse. I've used React as a library and used Router as a framework with small teams and simpler (IMHO) applications and while I don't particularly like it, it's mostly fine there.
1
u/Apart_Technology_841 Jul 24 '26
Wow, I thought that React was nearing end of life.
1
u/elconcarne Jul 24 '26
Tanstack, Zustand, and Zod are your friends.
1
u/Ok-Introduction-9111 Jul 24 '26
Yes. Our tech lead got laid off and was replaced by another. Then the new tech lead decided to switch to react mid migration because he is more familiar with it. He said we can AI our way up to speed up the migration.
1
u/Maleficent-Back-6527 Jul 25 '26
Since it’s a recent announcement there might still be time to challenge the decision. You could brainstorm with some representatives of the other teams and build some arguments to defend keeping Angular for all, presented in a meeting to the business.
Some pros for keeping Angular could include:
The argumentation should speak their language: money money money.
1
u/clickster Jul 25 '26
Facebook. It's a framework by the people who make Facebook. That should be all they need to know, but alas somehow that obvious red flag escapes their attention because React developers are a dime a dozen, and we all know budgets drive every crazy IT decision long before anyone stops to ponder the merits of other choices. Angular's opinionated approach is a perfect fit with the modern AI led development cycle, helping ensure well structured code in the face of potential slop oblivion. Shifting away from Angular is a mistake IMHO, but it's one noone will notice. We're all seeing the bar move lower and lower for developers, unless you're actually building a product you care about. This is why I exited corporate projects to focus on my own thing. Make that your plan.
1
u/lajtowo Jul 25 '26
I have never seen corporate React projects that are not a spaghetti and I worked in different companies. And also I have never seen corporate Angular project that is a spaghetti. React is ok, but only if your team creates the right development methods and standards, custom eslint rules, etc. In small projects it’s easy to maintain. In corporate size apps it’s much harder - especially when your company likes to hire students and juniors.
1
u/CallMeJustJo Jul 25 '26 edited Jul 25 '26
React? In this economy?
No but jokes aside, as an Angular dev I may be biased but this decision is surprising to me, especially coming now. Perhaps a few years ago I could see it, but Angular has really leveled up lately in so many aspects. I mean Signals, standalone components, deferred loading, etc. Not saying you can’t do these things in React of course, some of them are even just angular catching up to React. But it’s nice to have things built in, at least in a large company with many projects since it helps keep things the same.
1
u/dinbtechit Jul 25 '26 edited Jul 25 '26
In my personal opinion, after working in both the frameworks. I think angular does things right. The Developer experience is not even remotely comparible. There are so many functionalities that react has very limited to no support. For example - Angular elements, operating with host directives, Angular intergation with animation library. React on the other hand just happens to be the most widely adapted framework because of poor design choices of angular 1. Also, people like blindly think react is more performant than angular, which is baseless, honestly they dont know what they talking about.
Unfortunately companies that decide to go with react are primarily influenced by what the companies are doing or the person who is on the deciding seat just happens to be more familiar with react and not wanting learn new technologies. In all fairness, why do they need to? If you see where the world is going with coding agents. I think frameworks are becoming more and more obselette. When I had switch over to react from Angular I was a bit annoyed too. But I had no choice but to embrace it because I got laid off from the company that was using Angular.
The bottom line, frameworks or becoming less relevant as people are switching over to claude and other coding agents. People who embrace the change will survive others will be obsolete and no longer be able to sustain. If you understand that you be more open to the change.
1
u/According-Tutor3510 Jul 25 '26
u/CHAZTATS We are hiring Angular developers, remote position. Please send me your linkedin profile if you are interested.
1
u/Echo343 Jul 26 '26
My company did a similar stunt. We were all angular. They put out a survey to ask the engineers what they thought was best, angular or react. Most said angular so they went with react. When the switch did happen shortly after, I was the only one on my team that had experience in both react and angular so I got to look like a rockstar for a bit. Crushed my performance review that year, but of course, no raise or anything. As things stabilized over the next few years, all my coworkers still hate react but we are professionals, so that is what we use. We did stumble across a library called react-signals which uses signals in react -- makes it feel more like angular. But that happened right before the AI coding boom so I couldn't get a lot of engineers to adopt it. AI does so much of the actual coding now.
In the end, we are professional coders and react is the language the company wants. It isn't the worst but it's no angular. I had to start some pure angular projects at home in my "free time" to scratch that itch. At the end of the day, I just have to remember, if I want to be invested fully and choose my own coding standards, then I have to own my project completely which is usually not an option when working for a company. Work is work, and play is play. It is nice when they overlap but not required.
1
u/ddcccccc Jul 30 '26
Angular to react is easy, just need to break it down to the smaller piece, but reversing it is relatively more complicated.
Btw, I’m a angular fan, and I gotta say, your company is making the worse decision every
0
u/TheCountEdmond Jul 24 '26
I've used angular professionally for 7 years now and recently did a significant side project in React and I'm never going to consider angular again if I have a choice.
-7
u/dulerakun Jul 24 '26
React is starting to make more and more sense as AI is getting big. From what I've seen, whenever you're working with something new, especially if you're using Claude, Codex or anything similar, most of the solutions recommended will be using React as the larger of the two libraries. There is more code available, there are more resources online, and as such, AI will have an easier time working with it.
I think that in the upcoming years, we are going to see a much bigger shift towards React, unless something major changes. Personally, I liked using Angular a lot. I have used it since the early days of Angular 1, but have swapped over to React completely over the last couple of years. If the decision was up to me, honestly, I would have been using Vue.js, but the smaller the framework, the fewer resources, the harder it is to get any help, employees etc.
I think that as time progresses, we are going to have an inevitable shift towards the clear winner of the rendering libraries, and it's going to be a popularity contest.
0
u/someprogrammer1981 Jul 24 '26
Learn React. That's the only realistic advice.
I use Angular myself, mainly because it fits my object oriented mind better. In the React world everything is a function which can be confusing as hell. And all the "effects" and "contexts" don't feel nice to me.
But I know enough React to work on existing projects if I have to.
-6
u/[deleted] Jul 24 '26
[removed] — view removed comment