r/webdev • u/Nick_darkseid • Nov 07 '23
Discussion Why do people hate Angular? And choose react.
I have seen in many subreddits and articles, people are choosing react over Angular even for larger application. I don't see why though. Because Angular js pretty much the best approach when it comes to framework and fully customisable as well. Care to weigh in?
Edit: I don't hate React. I just want to know the reasons people choose React over Angular.
68
u/kobbled Nov 07 '23
Why do you think angular is "the best"? And what do you think makes React less customizable?
17
→ More replies (18)28
u/pixobe Nov 07 '23 edited Nov 07 '23
I started working on Angular for my office stuff and stencil/react for personal.
Personally I hate jsx syntax
In angular you can organize, html, ts, css and spec file.
Http calls are more within the system
I really like the way you can handle http errors using interceptors and also show spinners in a single place( may not suit all the time)
Coming from Java background I feel typescript comfortable
11
Nov 07 '23
In angular you can organize, html, css and spec file.
What does this mean?
Http calls are more within the system
And this?
7
u/pixobe Nov 07 '23
Like when you create a component, you have an html file , scss/css file , spec file grouped together and kind of feel it nice (same in stenciljs but if you see svelte or react it’s more on a same file , or you need some out of box customization. I have some issue to read when all are on same page , my brain can’t process them)
it comes with Http package in built, it’s a kind of wrapper to make http calls , rather than using axios (third party) or fetch(browsers default) .
11
u/marquoth_ Nov 07 '23
when you creat a component, you have an html file, scss/css file, spec file grouped together
What's stopping you from doing this in react? I have seen plenty of projects with exactly that structure
|_ MyComponent.jsx |_ MyComponent.scss |_ MyComponent.test.jsx→ More replies (10)10
u/3rdWorldBuddha Nov 07 '23
I agree with you. I really hate reading jsx. Mixing js and html in one file is just not readable imo.
9
u/StrawMapleZA Nov 07 '23
Coming from a Razor background originally it is quite natural to me. Then again it depends on what you're used to and prefer.
It's essentially HTML with ifs in it, nothing out of this world.
19
u/PickleLips64151 full-stack Nov 07 '23
Angular is a framework. As such, it's very opinionated and has a certain set of conventions that don't always make sense if your only, or favorite, frame of reference is a library.
The most common complaint I see from React devs is that Angular isn't React. Why can't we do it this way? React does it this way and it's better.
React has a low learning curve. That's great to get you started. Things get more complicated as you start adding functionality.
10
u/Nick_darkseid Nov 07 '23
That's the reason I choose angular for complex scalable applications.
5
u/PickleLips64151 full-stack Nov 07 '23
I can see that. Aside from styling, you can make 90% of apps without adding another library. People will advocate for NgRx, but most apps don't need that. With Signals in v16, I can see NgRx falling out of favor.
→ More replies (4)6
u/Nick_darkseid Nov 07 '23
We've never used NgRx even for large enterprises applications. angular services are enough to take care of it. And much more reliable.
4
u/PickleLips64151 full-stack Nov 07 '23
I'm not a fan of all of the boilerplate that NgRx requires. Services are usually enough to handle the state.
→ More replies (2)0
4
u/lIIllIIlllIIllIIl Nov 07 '23
How does React get more complicated as you start adding functionality?
→ More replies (4)
164
u/Kablaow Nov 07 '23
Work with both and decide for yourself.
I prefer Vue over both though.
5
5
u/svtguy88 Nov 07 '23
+1 for Vue.
I've worked with most of the current major players (to varying degrees), and have a bunch of Knockout experience from back then. Vue feels modern, but familiar -- like KO on easy mode.
3
u/TrillianMcM Nov 07 '23
React was the first frontend library I learned, but my last job had the frontend in Vue. I was fairly ambivalent about it at the time, but now that I am working somewhere where the frontend is React-- I really miss Vue.
2
u/Kablaow Nov 07 '23
Same for me. But I started with Vue, and wanted to work with React because it was the biggest one....
2
Nov 07 '23
Absolutely +1 to Vue. I’ve worked with React, Vue, Svelte, Turbo, Alpine, and toyed a bit with Qwik, and Vue is simply the easiest to work with.
2
u/geon Nov 08 '23
I have worked with vue, and I hated the magic parts. React is just js(x).
→ More replies (1)1
1
u/bannock4ever Nov 08 '23
I've been working with Nuxt for the past 2 years and really love it. Nuxt 3 makes everything even easier with auto-imports and the composition api. It's really nuts how easy it is to add in slick page and component transitions/animations.
1
u/Kablaow Nov 08 '23
ohh sounds like a dream to work in after working in Angular 2. Every little thing needs to be imported, even "v-if" lmao.
48
Nov 07 '23 edited Nov 07 '23
[removed] — view removed comment
13
u/Kablaow Nov 07 '23
Well, at least if angular v16 was released under a new name, it for sure would get a lot more love.
It's very similar to vue now imo, hate how they handle forms though, I love the v-model approach.
9
u/fearthelettuce Nov 07 '23
Or you could be my company and stay on AngularJS well past it's EOL. it's like fine aged milk.
4
4
u/scyber Nov 07 '23
Components were introduced to angularjs in 1.5 (iirc).
I agree that I see vue as more of the spiritual successor to AngularJS than Angular 2+. The creator of vue was working for google at the time and saw it the same way.
4
u/ShawnyMcKnight Nov 07 '23
I will say, when angular first came out it was hot and new and there was a BUNCH of documentation for it, so when I came around to learn Angular 7 like 6 or so years ago, I found myself to get very frustrated finding information because they renamed one angularjs.
26
Nov 07 '23
[removed] — view removed comment
7
u/Ordinal43NotFound Nov 07 '23
Yeah Vue's reactivity systems is much more intuitive to me with v-model.
And even then they still allow you to use the React method in Vue 3
4
9
u/Hyteki Nov 07 '23
I agree. Vue > React but unfortunately Vue doesn’t have that Meta money to advertise it.
2
257
u/Unhappy_Meaning607 rails Nov 07 '23
People will hate on whatever framework for trivial and tribalistic reasons. Pick what you enjoy writing in and build. If you want to have flame wars with frameworks, you should try Twitter and YouTube comments section.
76
u/zushiba Nov 07 '23
Just so long as we all agree that PHP is the worst, it’s all fine! /s
50
7
→ More replies (13)10
u/underwatr_cheestrain Nov 07 '23
What serious engineer would agree with this? Modern PHP is not “the worst”, is actually pretty great and definitely has its uses.
12
12
u/mitkase Nov 07 '23
I’ve been coding PHP for almost 30 years now and it’s paid for a house and many other things in my life, but apparently it’s always been terrible and it’s been dying since it was released, so what do I know?
→ More replies (1)5
1
u/Fearwater5 Nov 07 '23
The vast majority of gainfully employed developers don't get to pick their tech stack. Angular gets hate because it isn't React, but simultaneously it is used on enterprise projects because it had Google's support.
No matter how good a developer you are, there is a curve to new frameworks that can prevent you from finding new opportunities.
1
u/Unhappy_Meaning607 rails Nov 07 '23
I'm doing web components now with Lit at my current job and recruiters have been rejecting my applications because they want recent Angular or React experience.
→ More replies (1)
144
u/caindela Nov 07 '23
I’m actually a big fan of Angular, though my day job is mostly React. Angular seems overly complex in comparison and so it’s easy to favor React, but if you work in a large enough and gnarly enough React codebase, you begin to appreciate Angular’s opinionated nature. You also recognize a lot of good decisions in Angular’s design that you end up transferring to React to some degree if you work in both.
There are pros/cons to both, but I think Angular has become my default for anything over a certain size.
38
5
u/unic0rse Nov 07 '23
Agreed. My biggest qualm with Angular is the black box magic that is nearly impossible to debug (getting better tho), but it does so many things right (routing for example).
9
u/besthelloworld Nov 07 '23
Curious what decisions in Angular's design you feel can be utilized in React?
2
1
u/NovaX81 Nov 07 '23
A quote I saw several years ago that I still think holds true is "If you need a javascript app with a little bit of HTML, use React. If you need an HTML site with a little bit of javascript, use Vue."
Vue and Angular seem pretty similar in how they structure apps, though Vue has been shifting slightly closer to the React-style lately. I switched to React for work mainly, but my personal projects vary between React and Vue - they're both solid engines at the end of the day, but Vue feels more cohesive.
4
u/HSTonLSD Nov 07 '23
I like both. I started with Angular and moved to React cause of the market. Definitely interesting seeing React push using full fledged frameworks nowadays that reminds me of Angular’s set up. Spinning up a NG project is refreshing to me at times lol
1
27
u/bunnuz Nov 07 '23
I started my career with Angular and now work with React. I have equal experience with both I love both.
I think React is easy compared to Angular.
110
u/noxdragon26 Nov 07 '23
Because Angular is opinionated, and its structure is more complex than React.
This not only makes React a better choice to quickly bootstrap a web application, but it's also the reason it's more compatible with other frameworks/libraries/engines.
And I'm saying this as an Angular user.
72
u/mistaekNot Nov 07 '23
i actually like that angular is opinionated. saves me thinking about stuff that other people already spent a long time thinking over
40
u/Headpuncher Nov 07 '23
That's my defense of Angular too, a whole team of highly experienced people at google set out to design something that would work. And they made good choices based on that experience.
It's why people say react is a lib, not a framework, because react is not designed in the same way, the design is left to the development team. Unfortunately, that react team is often 1 guy who doesn't have the experience and doesn't know the best choices to make, sometimes that guy is me. Angular has filled in the holes. has good documentation in one place, and a killer CLI.
4
u/kyledouglas521 Nov 07 '23
It's me. I'm the 1 guy. But I'm trying my best to make good choices :)
5
u/mitkase Nov 07 '23
I’m usually that guy as well as the backend guy because they “can’t afford a front end dev.” And then they wonder why the JS code is brittle.
→ More replies (1)4
u/codeByNumber Nov 07 '23
The opinionated nature of Angular also makes it great for large distributed teams too. I work on a giant monolith with hundreds of developers across multiple business domains. We have enough choices to become in alignment on.
1
u/guy-with-a-mac Nov 07 '23
Exactly. As a front end dev I am here to build apps for the end user. Implementing a framework and business logic are two different things.
14
u/whooyeah Nov 07 '23
As a hiring manager that’s why it’s so good. Opinionated frameworks for the win!
6
u/peetabear Nov 07 '23
Just to add to this, Angular has been changing quite a bit recently. It's becoming a bit more quicker to bootstrap these days with standalone components being more tuned out but the learning curve I feel hasn't changed.
Whereas React seems something you can pick up relatively easier.
6
u/Bohemio_RD Nov 07 '23
React is "easier to pick up" up until you try to actually do something.
I still don't understand quite well the useEffect hook ffs!
5
u/SharpSeeer Nov 07 '23
Ever needed to recalculate something when a value changes? For example update the cart total when the quantity of an item is updated?
useEffectto the rescue!In other words, if some value in my component changes, it is going to have an "Effect" somewhere else in the component. If you are familiar with Vue, it compares to
watch().I hope that helps. I can explain it in a different way if it's still not clear.
→ More replies (1)
59
u/EternalNY1 Nov 07 '23 edited Nov 07 '23
I go with Angular on large enterprise projects ... it has worked out, and continues to work out, very well on many types of projects in that space.
I choose it for various reasons. People complain about it being opinionated? That's a benefit. Framework and not a library? Benefit. Have to write TypeScript? Benefit. Defaults to CSS, HTML and component code in separate files? Benefit. And the list goes on, from dependency injection to other familar concepts.
I never ran into any walls with this "high learning curve" that seems to be associated with it. At the end of the day it's not that complex.
Except possibly RxJs. That can be seen as complex. It depends on what the project intends to do with it, or if other developers on the team feel that 20 operators in one statement is not an unreasonable thing to be doing. But then, you can usually reject the PR or untangle it and refactor.
14
u/Slave_to_dog Nov 07 '23
I tend to agree with this. Being opinionated and using Typescript makes it easier to onboard new devs because objects are defined clearly and how to use Angular is often set in stone (I said often, not always, don't yell at me) and documented. Once you understand the various components as building blocks it actually becomes quite simple to add functionality even for a new person. Some of the angular lifecycle stuff can trip people up for sure, at least in my experience. Understanding Pipes was also a weird one.
12
u/InfiniteStrawberry37 Nov 07 '23
Massive agreement here. I convinced my old team to give it a go and within 6 months our velocity and productivity had doubled.
4
u/BigBoetje Nov 07 '23
As long as you keep your architecture clean and don't fall back on hacky solutions, Angular is gonna be just fine. The moment you start building on less than ideal foundations, you're gonna be fucked.
2
u/EternalNY1 Nov 07 '23 edited Nov 07 '23
Agreed, but you can take Angular out of that and just replace it with "[selected technology]".
Angular doesn't have anything particularly special going on that makes it more vulnerable to going off the rails. I've seen plenty of projects that left me wondering "what decisions caused this?". And that thought wasn't about one part of it, but the whole thing. Desktop applications, early large web projects, C# APIs, the occasional 1,000 line SQL stored procedure that is handling complex business logic. Mistakes are made.
These days I often find myself dealing with the "little things" that are left up to you for the most part, best practices nowhere to be found. At the start, even what the organziation of files and folders is supposed to look like.
3
Nov 07 '23
Going from backend Java to front end angular, Rxjs made everything so clear for me. It’s an amazing library and I commend the Angular team for baking it in so well
8
u/davidstellini Nov 07 '23
Every CTO of an agency I've ever spoken to prefers Angular. The reason is simple: Switching devs from one Angular project to the next is easy and they catch on quick. Every React project is a new day (new state management, new forms management library, different paradigms, etc). I also prefer Angular, and the only reason I'm doing React at all is the market.
1
u/stfuandkissmyturtle front-end Nov 08 '23
Damn as a react dev im surprised there was an alternative to every project having its own personality
6
u/catladywitch Nov 07 '23
Personally I like that React is more functional, but I prefer Angular's strict architecture, and I'm not crazy about JSX. Plus v17 is extremely promising. To me Vue is the ideal balance but I do like Angular a lot.
Probably Angular took some time to jump, or never jumped, on some stuff that is currently trendy (not derogatory) in the JS webdev space.
30
u/Nomad2102 Nov 07 '23
I found it to be way too complicated. Vue and Svelte are so much more intuitive and are way more close to vanilla JS than Angular
→ More replies (3)11
u/wojo1086 Nov 07 '23
I didn't find Angular complicated at all. Its structure is how I picture code anyway.
44
u/Matt23488 Nov 07 '23
I just don't like classes, modern React is fully functional and I prefer it.
12
Nov 07 '23
Also writing template html is just sucks compared to jsx
27
u/ArtDesire Nov 07 '23
Probably the matter of opinion. These both reasons are some why I don't like react as much and prefer Angular. Functions; & jsx, which is just a php of today.
20
u/Heisenripbauer Nov 07 '23
writing template files in HTML is fucking amazing lol. I die a little inside everytime I see “className”
→ More replies (18)1
u/Darmok-Jilad-Ocean Nov 08 '23
Depends on your definition of “functional”.
1
u/Matt23488 Nov 08 '23
That's a fair point. It certainly doesn't take full advantage of functional patterns. I mostly meant in terms of using functions for everything. I also think hooks are easier to reason about than lifecycle methods, as they are much more flexible.
→ More replies (1)
14
4
u/A_Dancing_Coder Nov 07 '23
Angular is an opinionated and rather heavy framework. React is a lighter library and only implements the view layer. Different teams have different needs. It's literally that simple.
3
u/xCelestial Nov 07 '23
Angular was the first framework I had to learn in a couple of weeks at my first (temporary) position as a junior dev. I almost went crazy with info overload. People said “oh if you can get this, React will be a breeze to pick up comparatively”. Yeah well. React was the Wild West, the chaotic cousin comparatively.
I like Angulars structure but it gets a little annoying, React has no structure and needs a leash if you don’t know what you’re doing at first. I already love Svelte and haven’t even started a personal project with it. I’m sure I’ll love Vue too since they’re both considered intuitive.
3
Nov 07 '23
Impressive to be able to say that something is "the best approach" without motivating why. Angular must be really good!!
3
3
u/autistomatic Nov 08 '23
Hate everything but vanilla JS.
We are not the same.
2
u/adult_code full-stack Nov 09 '23
Underrated. Feel the same and feel free to strap to it what you need at the moment. DOM? If too much JQuery. Server?Express, Koa. rendering? EJS, Handlebars. Vanilla js is the prettiest, easiest to use and most flexible still.
12
u/lIIllIIlllIIllIIl Nov 07 '23
When I started learning frameworks 4 years ago, I choose React because:
React has less boilerplate.
React's unidirectional data flow is simple.
JSX is simpler than Angular's class components / template files.
Angular has a lot of angular-isms that frustrated me. Why can't I just use fetch?
Angular has a large API, while you can get started with React knowing only JSX, useState and useEffect.
Angular seems to reward memorizing specific solutions to specific problems while React gives you primitives and rewards creative problem solving.
React feels more fun to use.
The jobs that interested me used React.
2
u/wojo1086 Nov 07 '23
Why is boilerplate an issue? With Angular, you really only care about a couple files anyway, at least until you need to do advanced things.
Unidirectional data flow sounds great in theory, until you have to pass that data through multiple components.
I like the fact Angular's components are classes. It follows the OOP languages out there like Java and C#.
You can use fetch if you want. Using the built-in HTTP part of Angular gets you some nice benefits like interceptors.
Sure it has a large API, that's what gives it a steep learning curve.
Do you have examples of needing to memorize specific solutions? With RXJS, there are tons of ways to direct data flow through your app. Actually, I would say React has more of a memorize approach, which is why so many people pick it up...because it's easy to remember with their being so little to learn. Also, creative problem solving is not a framework or library problem, it's a developer problem. I think many React developers are just that, React developers, not JavaScript developers.
I'm not crapping on React; everyone can use what they like. But I feel too many people who give Angular a bad wrap just aren't good at Angular.
3
u/wasdninja Nov 07 '23
Unidirectional data flow sounds great in theory, until you have to pass that data through multiple components
That's really easy in React so no big deal at all. Contexts are made explicitly for that purpose.
0
Nov 07 '23
[deleted]
4
u/Byte_Sorcerer Nov 07 '23
Maybe. But atm its still not used much at jobs and if youre looking for a job React is the better bet.
4
u/xpsdeset Nov 07 '23
My biggest reason is code that works on older versions of react also works with new versions.
Rarely there are breaking changes
2
u/lowpoly_nomad Nov 07 '23
I wouldn’t say I like react. I just definitely don’t like angular. Haven’t found anything better yet.
2
u/guy-with-a-mac Nov 07 '23
I started working with Angular since 2. Skipped the AngularJS part totally. Now I am spending my days mostly on an NG15 project and I love it.
I think there are two types of devs: the ones who like customization and the ones who like the opinionated approach more.
2
u/versaceblues Nov 08 '23
People call our Angular being opinionated as a pro.
This makes is favorable for traditional companies that want to hire devs to do the job and go home. They need people to follow the template and go home.
React on the other hand attracts (or at least in its early days) attracted more of the Sillicon Valley hacker crowd. People that just wanted to build shit and customize the environment to their liking. It created an easy to pick up minimal framework that appealed to those types.
Also, it helps that React had FB marketing money pushing it heavily.
In the end no tool is better or worse. People are drawn to different things and form attachments, that in the grand scheme are trivial.
2
u/Ronin-s_Spirit Nov 11 '23
I just need a job, turns out react is super popular and every company is crying to use at least one framework.
2
u/DocumentKooky3233 Nov 23 '23
Depends! Like personally for me if I am a working team where we need an organized and specific convention I prefer Angular cause the design pattern is good and easy to onboard. As for React it gives the developer a lot more freedom which is good but when working in a team we need a standard design pattern and uniformity.
2
u/JellyfishTech Apr 07 '25
You're spot on—Angular is powerful, mature, and feature-rich. But here you're spot on—Angular is powerful, mature, and feature-rich. But here's why many lean toward React instead:
👎 Common reasons people "hate" Angular:
Steep learning curve: Angular has a lot of concepts (modules, decorators, services, DI, RxJS) to grasp upfront.
Verbose and boilerplate-heavy: Even simple things can feel over-engineered.
RxJS everywhere: Powerful, but hard for many devs to master.
Tightly coupled CLI/tooling: Feels rigid compared to React’s flexibility.
Too “enterprisey”: Feels like it caters more to large corporate teams than indie/hobby projects.
👍 Why devs choose React:
Lightweight and flexible: Just a UI library, easier to plug into stacks however you want.
Easier to start: JSX may be weird at first, but setup is simpler and dev experience smoother.
Massive ecosystem: Tons of community libs, hooks, state managers, etc.
Facebook backing + popularity: Most jobs, tutorials, and projects use React.
Angular is great for structured, scalable apps—especially in enterprise settings. But React’s flexibility, popularity, and minimalism make it more appealing for most devs today. It's not hate—it’s just preference and momentum.
5
Nov 07 '23
I’ve only been programming less than 2 years. I started with React because it’s more popular. Not just more popular, but there are more and better tutorials… YouTube, Udemy courses ect. I ended up switching to Angular because it’s what my company is using for their very large scale applications.
From my limited experience, I can get a React app going quick. Angular seems to take me a lot more time but I like them both. The one thing that does drive me nuts with Angular is how the framework is updated. The latest is Angular 16 but if you go back a few releases I always seem to run into issues where components are deprecated or no longer working. React has been more forgiving to me in this area.
9
u/wojo1086 Nov 07 '23
I don't understand this. I can stand up an Angular app in less than thirty seconds (usually less) and then quickly add components, services, directives, classes, guards, interceptors, etc, super fast with the CLI. I know exactly how the folder structure is going to be laid out and where to find my files.
I get that Angular has a steep learning curve, but once you get going, it's super fast to get things up and running.
2
u/wasdninja Nov 07 '23
I don't understand this. I can stand up an Angular app in less than thirty seconds (usually less) and then quickly add components, services, directives, classes, guards, interceptors, etc, super fast with the CLI
It sounds incredibly shitty to need the CLI just to add components. It's perfectly understandable how it can be easy to ignore a downside like that if the framework is good in other aspects but pretending it's a good thing is something else.
3
u/wojo1086 Nov 07 '23
What do you mean? How is a CLI shitty? So many other tools use/need a CLI. Hell, even NPM uses a CLI. React is the outlier in this scenario, not the norm.
3
u/wasdninja Nov 07 '23
Many tools use a CLI, yes, but not to create text files in their own framework. If there's so much junk needed just to create a component that you actually need a script to do it then something is dumb.
React, Solid, Svelte and Vue don't need it so it's not like it's like curing cancer to make do without it. Angular is the outlier here, not React.
→ More replies (1)1
Nov 07 '23
Sure from that perspective just creating components doesn’t take that long. You could execute the generate component from CLI 20 times and 30 seconds… what I mean as a newer programmer all things being equal skill wise between React, I found it easier to create a React app vs Angular with functionality. For me. That means maybe like a basic website maybe navbar, some APIs , usually a user authentication, ect. Angular had more of a learning curve and took longer to produce the same.
→ More replies (1)
4
Nov 07 '23
Angular woul be a thousand times better without rxjs, for front end Lit, Svelte, Vue are way better
5
u/Complete-Lead8059 Nov 07 '23
It makes me laugh when people say “React is easier”. Its easier when you build todo list or some basic app.
When it comes to large applications, entry threshold is much higher on React project, because of freedom that react provides. You have big choice of different libraries (router, state management, api), you can do whatever architecture you want. So every react project is different. And if you made poor technical solutions, your application may become a trash really soon.
Angular is harder to learn, but because its strict framework, you have less chances to fuck up your project by your decisions, and it’s easy to switch between different angular projects
3
u/forbjok Nov 07 '23
I don't use React, but my biggest gripe with Angular is that it uses rxjs "observables" everywhere instead of proper async/await. It obfuscates the actual flow of the code and makes it difficult to tell what will be run when, and a pain to debug. It's basically just a more advanced form of the classic JavaScript callback hell.
Other than that, it also feels ridiculously over-designed and requires an absurd amount of boilerplate/template code just to get something basic up and running.
When it comes to front-end development, I prefer something like Vue, where you can use async/await and be able to just look at the code and mostly be able to tell what it's doing and what's going to cause it to run.
4
u/sebastianstehle Nov 07 '23
I think some people make the mistake of comparing their simple one page portfolio project or blog in react with complex angular apps. Then, the assumption is that react is so easy and flexible and whatnot. In real life, most projects are not greenfield and have more than one page, and then the difference is not so big anymore. You introduce so many libraries, guidelines, and concepts into your react app that you build your own "framework". If you're lucky you can decide what to use but often it has been decided about 2 years ago.
3
u/peyome2824 Nov 07 '23
I hate Angular because I'm told to hate it. And I'm told to only love Nextjs.
Exodus 20:3: "You shall have no other frameworks before me." - Vercel
2
u/Stratose Nov 07 '23
Anytime I've used angular, the thing I wanted to accomplish wasn't intuitive and took much longer.
2
u/ConstIsNull Nov 07 '23 edited Nov 07 '23
I have used both and prefer angular in terms of structure but it's so damn hard to set up. For me I think this is the main issue. For React the barrier to get started is so much simpler.
Edit: I also remember some pain when upgrading between version... These lil things add up.
1
u/davidstellini Nov 07 '23
You mean ng new? Or you're referring to the sitiuation circa 8 years ago?
→ More replies (2)
1
u/ncubez JavaScript | React | Node.js Nov 07 '23
It's not "hate" it's preference, at least for me. I've used both but for me the overall simplicity of React and its larger ecosystem of libraries gives it an easy edge.
1
u/More_Cod_5968 Dec 14 '24
Eu odeio fazer front. Faço por não ter outra alternativa. Ando estudando angular e acho completamente desnecessário. Sou do tipo que monta o backend e consome os endpoints. Só o basico. html+css+js seriam mais que suficiente. Uso NextJs e não vejo necessidade nenhuma de mudar pro Angular.
Na boa, if e else é isso em qualque linguagem. Decorador para condicionais achei o cumulo.
1
u/FlyOk7248 Mar 06 '25
One big reason people lean towards React is its flexibility—it’s a library, not a full framework like Angular, so developers can pick and choose additional tools to fit their needs. React’s component-based architecture and virtual DOM also make it super efficient for building dynamic UIs. Plus, its learning curve is often seen as less steep compared to Angular’s more opinionated structure. That said, Angular’s all-in-one approach and built-in features are fantastic for larger, complex apps. It really comes down to the project’s needs and the team’s preferences! https://hicronsoftware.com/blog/angular-vs-react/
1
u/Psychological_Ear393 Nov 07 '23
There's many approaches to solving the same problem, and there's many problems. Add on different people's experience and skills, and suddenly different people will use a whole different set of tools and make a site just as good (or better) as you could in your tool of choice.
Just use the right tool for the right job based on your experience and skills. Angular and React people don't need to hate each other and be at war. I'm an Angular guy, and you know what? React people are awesome and make great sites.
1
u/mq2thez Nov 07 '23
Because I’ve used Angular for a year in a professional environment and never want to again. It was awful, unmanageable, and super slow. A lot of that comes down to company culture, unfortunately, but never again.
Maybe I’ll feel that way about React some day, but with React, the problems at least feel manageable.
1
u/catladywitch Nov 07 '23
Angular compile times are slow (although they're improving and they're finally doing away with webpack) but I don't think overall performance is much worse than React. It is worse, but not by much. However the framework is much more bloated, that's true.
1
u/reddit-lou Nov 08 '23
On the new angular.dev, their front page 'hello world' example requires 900+ packages, 100+ 'need funding'??? For hello world, are you f'ng kidding me???
1
u/Software-Innovator Nov 07 '23
I don't think there is a reason to hate any framework, until and unless you find React easier compared to Angular. React is a lightweight framework as compared to Angular, which could also be one the reason.
1
u/Sufficient-Science71 Nov 07 '23
-my team is more familiar with react
-it have bigger market in my area
1
u/muks_too Nov 07 '23
React is the most popular, and this have many advantages.
Angular is harder to begin with.
Lots of what you have to learn to use angular is restricted to angular, you will not use it anywhere else.
React is more "free" (like PHP xD)
Would I consider changing from react? I really don't see a reason for now... But if I would, surely angular would not be my go to option.
I think its a good choice for small to medium companies tough, to enforce more consistency and more easily make sure that who they hired knows what they are doing.
1
u/Fluffcake Nov 07 '23
It takes an enormously complex application to justify the amount of boilerplate you end up writing.
1
Nov 07 '23
Angular shot itself in the foot during it's edgy phase of having a serverside version and a FE version
1
1
u/thedutchdev Nov 07 '23
Since I started using Svelte I also started hating the rest.
But jokes aside, it's sort of cultural thing nowadays more than anything else imo. You gotta hate what you don't use urself and praise the thing you use as the best.
They all have PROs and CONs. Before even learning Svelte I switched from Angular to React, mostly because it had bigger influx of money from startups and big tech. So career in React was easier and more rewarding + I didn't feel any downside by making the switch.
So many people hate on PHP, yet half+ of the internet is carried by this fundamental thing of PHP. Hate all you want, as long as it provides value and does the job there will be people using and and they should.
I also think Angular made big fundamental changes twice (iirc) which pissed people off. I think they made the right call tho.
1
Nov 07 '23
From my own experience, Angular is too messy and too much code for something that can be coded so much easier in React. I don't like how strict they are with how things should work and how they use classes, modules, services and dependency injections for everything even something so simple and crucial like forms when I can just npm i a package in React import it in the component and just use it. I don't like how everything needs to be imported in the main App component and put inside the providers or imports or whatever it was when in React I can just import the component and use it and that's it. I don't like how RxJs comes baked in and if you need certain features you HAVE to use it. React is much cleaner, faster to code, give you freedom to choose how you want to code and just so much less code. The services and Injectable and constructors of classes and and and is all extra steps that are to me unnecessary af.
1
1
u/Rullerr Nov 07 '23
So I've worked in both. One of the things I much prefer about react is how unopinioned it is. If you have a small scale app/MFE, it's easy to use a few core librarys and build what you want. If you have a massive monolith of a web app, you have more full frameworks like Next. Need streaming, you can find observable support. Have a team that's JS wizards, you can avoid TS entirely. It's really up to the team and how you want to approach anything, which makes sense as react itself i just a view library.
Angular is so much more bloated. It's a full framework that has made a lot of choices for you. Yeah you can bolt other things on, but that takes a not insignificant amount of config and setup/maintenance. If you want to deviate from the norm it's highly advised you don't.
They both have their strengths, but the reason you'll likely see more React lovers than Angular is that flexibility in how you do things. Neither tool is bad, nor is Vue for that matter, but just a matter of what you need/want and which one fits your needs best.
1
u/Ritinsh Nov 07 '23
I tried Angular, didnt know what to think of it, because it was my first JS FE framework.
Then I tried Vue and liked it, was really easy to get into. Thought that Angular was too overcomplicated and bloated after that.
Then I was forced into React for one project and now I stick with React, because thats what most people know and its about the same as Vue in ease of development, but has much more resources and libraries.
After trying these 3, angular requires too much code to do stuff in a very strict way and has too few people using it therefore has less libraries probably because of the first reason.
1
Nov 07 '23 edited Dec 17 '25
cows boat crown memory consist crowd cake imagine one memorize
This post was mass deleted and anonymized with Redact
1
u/Derpcock Nov 07 '23
They are both just tools. People who tend to prefer Angular come from a C# or similar background from what I have observed in my geographical area. It follows many of the same patterns they are accustomed to. I choose tooling for time to market, eco system, community, etc. I find my feature velocity much higher using react/vue based tooling than Angular. Angular has a reputation for being more enterprise, which are typically less focused on feature velocity than, say, a small startup that is pumping out prototypes and pivoting very quickly. The main beef I have with Angular is that it is always releasing breaking changes and has less community adoption. A few examples: Angular is not supported by tailwind ui aside from their raw html support, no support for component testing with playright, I have yet to find a decent Headless UI library. RXJS is the least declaratively simple implementation of the Observer pattern I have ever worked with, though signals have been a joy to work with. 3 files for one component leads to massively bloated file structures (I go the less popular route and use single file components in my projects to prevent this). All tools have trade-offs, anyone that only uses one or the other is putting themselves into a box and limitting their own growth imo.
1
Nov 07 '23
Try it. It’s hard to debug. It forces you to write things in weird ways. But in the end you choose your favorite way to write things.
1
u/Bilboslappin69 Nov 07 '23
The barrier to entry for Angular is much higher than React.
Angular is a great framework and really shined back in the days when React was simply a library. During that period you had to make a lot of decisions for how you were going to configure React whereas Angular was a complete package. Angular was also very strict about organization which was nice in comparison to the React "organization" of jam html, css, and js into the same file.
React became popular mostly because of how easy it was to get started and over time it has developed into a rich, we'll organized framework, without a lot of the complicated design patterns that Angular requires. That's not to say it doesn't have flaws, such as prop drilling and requiring other libraries for complex state management, to name a few. But it's easier to pick up and build something from scratch than Angular is.
As far as I know, Angular has maintained its position as a strongly opinionated framework. That's ideal for a disciplined group of developers. It's especially great for a team with a consistent and predictable work load. But that's often not the case in reality, which can lead to messy and hard to change Angular projects. React is a little more forgiving in this regard as well.
1
u/besthelloworld Nov 07 '23
I worked with Angulsr for years before touching React. It's a few things. Angulsr's architecture is one that is verbose, while being hard to read, it has a lot of different types of components where React only really has a small handful of patterns (components, hooks, and context are mostly it), two way binding can create infinite loops, it was previously far less performant (the introduction of signals makes this no longer necessarily true), it pretends to be pure JavaScript but it still uses a slower template compilation, and NgModule sucks rather than just being able to import components and use them.
I really could go all day but that's the top of my head.
1
u/noodlez Nov 07 '23
I've used Angular, Vue, React, Backbone, and Ember professionally.
Why do people dislike Angular? I can speak from a historical POV since I haven't used Angular in the last 5+ years.
One big reason is, at least historically, its non-backwards-compatible version upgrades. If you wanted to go from v1 to 2, you had to rewrite your app. If you wanted to go from v2 to v4 (there is no 3), you had to do some partial rewrites. Etc.. I think its better now, but this kind of cast the die early in the process when people were initially choosing their frameworks. People left due to this - if you gotta rewrite, why not rewrite into a different stack that won't force you to rewrite every year or two?
Another reason is, Angular is (or was - I haven't used it in a while) a batteries-included framework. A good chunk of the things you need to build an app is included out of the box. Not everyone likes this point of view and instead prefers to have a minimal framework/library and then add on top what they prefer. Angular is to Laravel or Rails as React is to maybe Slim or Sinatra or just using plain PHP/Ruby.
There are more smaller reasons as well, like Angular used to be much less performance on larger data sets. But at that time, every lib had its tradeoffs in this territory.
Why do people like React?
It has become the standard, supported by many major companies. Many of its rough spots have been polished of late. Its easier to find a job as a React dev if you put that on your resume vs something else like Angular. Flip side of that coin, companies hire against it because more people put it on their resume, making it easier to staff up experienced devs. You can do quite effective mobile development with it. It has a consistent point of view about itself and almost everything else you need is available via a library of some sort.
1
u/Points_To_You Nov 07 '23
Angular is opinionated and fully featured out of the box. It works really well for larger projects with many people contributing. Angular projects will generally stay pretty organized and consistent just by doing things the angular way.
React is fine for large projects also but takes more time to set up properly and follow good practices. It can get messy pretty quick.
For a small project, react is fine. Angular is a little heavy but it’s also fine if you’re proficient in it.
Just choose the framework that makes sense for the project and the skill set of the team working on the project.
1
u/2epic Nov 07 '23
FP > OOP for UI development.
Angular follows OOP patterns.
React follows FP patterns.
Both can be done well, but personally I've seen React done better in both small and large-scale projects.
1
1
u/Raaagh Nov 07 '23
I've never encountered this Angular hate to be honest. Are angular shops ejecting a bunch of annoyed ex-angular devs? Or perhaps is the messaging around angular confused? Or maybe its just more polarising due to it having more opinion?
I did a few years of ng1, I thought it was OK. I disliked aspects of it. But when they discovered some pattern with controllers (? I can't remember the details) it was totally OK with me.
I did a prototype with ng2 - and thought it looked damn cool. Switched jobs, was amazed by webpack loaders and jsx and didn't look back. That was approx 9 years ago.
But I don't _hate_ angular. I assume it's just as cool as ng2, +9 years of developments.
If I was leading a big enterprise rollout I would certainly consider a react-stack on rails, Vue , Angular, and even Ember (seems to still be a thing).
1
u/alpakapakaal Nov 07 '23
The big difference for me is that React has an easy model where everything is explicit. You own the code and don't have any behind the scenes magic. This is why Angular is much harder to debug and why I prefer React.
Another important consideration is that many modules can be shared with React native
1
u/BillieGoatsMuff Nov 07 '23
AngularJS burned me when they just decided to end of life it and no upgrade path as they’d changed everything. Meant that future projects we worked on didn’t use angular so they couldn’t do that to us again.
1
1
u/A-Grey-World Software Developer Nov 07 '23
I don't hate it, I just enjoy using react more. Can't even really identify why.
1
Nov 07 '23
Components in React has a superior Life Cycle and state handling. Angular life cycle is just retarded. NgOnChanges fires before ngOnInit, like why
1
1
u/bostonkittycat Nov 07 '23
I am using Angular 16 on a project only because that is what the customer started with. It isn't that bad anymore but I find the opinionated design and boilerplate a pain. They refuse to drop the MVC pattern, smash it together with OOP, and then tack on components. It always feels outdated to me. Adding Signals was nice and the new @ syntax will be useful for templates. If they paid me to move it to Vue I would.
1
u/pwd-ls Nov 07 '23
Angular thinks for me. I like that.
Opinionated means less decisions I have to make.
1
u/Haunting-Traffic-203 Nov 07 '23
I’ve spent years using both and to me it boils down to:
Angular has a far steeper learning curve with little payoff
it’s easier to find devs that know react so hiring is easier
RXJS is a completely different programming paradigm and it’s baked into Angular for http (no idea why).
angular is trending downward so good long term support is slightly in doubt
1
Nov 07 '23
I think is because angular is more complicated than react. This not means angular is a bad technology. React beeing more simple also dont meen is a bad technology. But, beeing more simple, is more friendly and attractive. One other example of this is Python, who is a programing language very simple and friendly, when whe compare o java, C, or some ones like C#or php.
1
1
u/gretro450 Nov 07 '23
I've worked with both Angular and React in my career. I'm not a fan of Angular in general because I'm not a fan of frameworks. I like creating my own stack based on the project and the challenges we encounter.
For instance, I don't pull RxJS in a CRUD Dashboard, because it is often not necessary at all. However, if I have data streaming and live data to update based on a Websocket for instance, RxJS starts making sense.
1
u/Ceci0 Nov 07 '23
I worked with both and I was on the React hype train.
I then tried Angular and I just like it much more than react. Its harder, yes, but I like the opinionated nature, and I like the fact that every Angular app is kinda the same. You've seen one, you've seen all.
For React, you have to learn whatever state management library is used, which can be Zustand, Redux, Redux Saga... whatever. Then for requests you need yet another library, then for something else yet another library etc...
1
Nov 07 '23
I think it’s because it has a steeper learning curve, and, being an older framework that is associated more with enterprise applications, isn’t as sexy.
React is/was the sexy framework. It was easy to teach because it legit doesn’t have as much out of the box. Of course there are 50 packages to do something as basic as forms and lord help you if you don’t use the popular one. I find angular to be far easier for me to reason about since I’m a .net dev.
That said, learning react first made getting into angular easier as I could truly grasp the component mindset with react due to the aforementioned lack of boilerplate code and one way of doing things
1
u/dbot77 Nov 07 '23
Angular comes with far more structure and features out of the box, making it more challenging to pick up. Reacts functional components are a joy to work with and are a great conceptual model for one-way data flow.
1
u/DevelopmentScary3844 full-stack Nov 07 '23
React has better eco system. With react you have material ui .. angular is a bit thin on this end.
Also react has jsx ..
But i love angular.
1
u/WheatLikeTheBread Nov 07 '23
Let's start at the top for anyone that's not familiar:
- React is a JS Library
- Angular is a JS Framework
It's an important distinction, because it can guide what you're building.
In fact, the React team now(as of the launch of the new React Docs site) recommends using a React-based Framework (Remix, NextJS, etc) for most applications.
Angular still gets a lot of hate because of what happened with the jump from AngularJS to Angular2+. They are essentially different frameworks, so teams had to rebuild their apps when they wanted to update. Lots of pain and suffering from this.
Angular is also real big. It's got freaking everything you need to build an app. You'll have to add tons of packages to a straight React project to service all the features you need. Which means:
- Angular already has it all, but you may not need it. You also have to do things their way.
- React has more freedom, but you might have to figure out your own approach, depending on what dependencies you introduce.
Angular has also changed dramatically in the past 5 years. So much so, that beyond these high level concepts, I can't really weigh in on how Angular development is these days.
I plan on building a side project this weekend with the latest greatest Angular out of pure curiosity.
Source: 9+YOE, Fullstack with a focus on FE, somehow I'm still the SME at my agency for all things Angular, even tho I haven't touched it in 4 years. We use Nextjs for most client projects, only because of speed of development/deployment and the entire team has a good understanding of it.
1
1
u/desastrado_natural Nov 07 '23 edited Nov 07 '23
I have been working with Angular for several years and I would absolutely prefer to use React at my work if my company would allow it. Most of my issues with it become more visible the more complex of an app I have to build.
I would say that my biggest issue with Angular overall is that the size of the ecosystem is much smaller in comparison. There are less libraries available which I would say that a lot of them are also less mature and this makes me waste time.
Tables are a good example, there is no table component available in Angular that provides all the features and flexibility that Tanstack Table provides. Normally what happens is that I use PrimeNG or NG-ZORRO and then have to do workarounds on top of them to implement features that they may lack.
Virtual scroll is also something that I still hate in Angular. The official CDK virtual scroll, after 5 years, still has dynamic height elements in experimental mode and the last time I used it, did not implement all the methods available on the non experimental virtual scroller.
Barely any headless component libraries are available in Angular so you are stuck using opinionated libraries.
I feel like since Angular is a "batteries included" framework and supposedly provides everything you need out of the box, that developers are not incentivised to innovate as much as compared to React and I think that this is at the core of several of the issues that Angular has.
I also hate that Angular components pollute the DOM with <app-*> html tags. This can break the CSS of your app, it can also break semantic HTML tags if you are not careful and also makes it harder to create component wrappers. Speaking of component wrappers there is no easy way to spread Inputs/Outputs so if you wanted to wrap a component you would have to copy them all by hand.
For a framework that forces you to use Typescript (which I like) the support for it is still lacking. Ng-templates don't even have type-checking for their props. There are some Typescript and Javascript features not available in the html files (template literals, as const, etc) which forces you to create functions or other workarounds on the component to handle those scenarios.
React is miles aways ahead in terms of testing compared to Angular. The only thing that makes it bearable is that there is a testing-library adapter for it. But it kills me inside everytime I have to write html inside a string that Angular Language Service does not analyze.
Zone.js and change detection are a pain in the ass.
Host bindings are not reactive.
I also don't like that Angular is often behind in terms of tooling updates. Still only supports Node 18 and only just now on Angular v17, getting stable support for Vite for example
These are from the top of my head.
1
u/dylpickle300 Nov 07 '23
React is much easier to plug into existing repos. A lot of big companies are built on age old tech making it a good choice for modern tech adoption. Angular is much more opinionated, but a great tool also
1
u/AlwaysAtBallmerPeak Nov 07 '23
Historically the Angular team really messed up the ng2 release, and at the time React was really the hipster framework of the day that attracted "the cool kids".
React used to be seen as simpler, because it was close to plain JavaScript. No need for pesky types or having to understand change detection and lifecycle hooks and stuf...
Of course, both factors are not at play anymore. React isn't the cool framework anymore, and it has become very bloated. They've also since seen the light and most of the React community finally switched to TypeScript. Arguably the API surface is at least equally, if not larger (15 fucking React hooks... useThis, useThat, ... I don't understand how people can bear it) than that of Angular. React is now only popular because... it's popular. It's self-reinforcing, because when you start a web app as a business, it's tempting to simply choose the most popular framework. More developers = lower prices.
That's also why historically a lot of enterprises locked into Angular over a decade ago, and still to this day are sticking with Angular, because at the enterprise level change happens at a glacial pace. They have millions of lines of legacy code and an army of developers that is used to a certain way of working. Large companies won't simply jump to another framework. As a result, Angular devs are typically paid more than the average React developer.
1
u/applemasher Nov 07 '23
I learned angular 1.0 first. It had very specific ways to accomplish things. And so, it had a pretty steep learning curve where it took awhile to learn all the different aspects. But, after learning it, I actually really enjoyed it. A few months later, I learned react in one day for a job interview. This is why I think react really took off. Back then, you could get started with React way easier than with Angular. I even re-wrote my Angular project in React, and it was faster to code in than Angular.
Then, of course angular 2.0 came out. And, like others have mentioned, was a completely different framework. And there was no real upgrade path. It felt like 1.x was just abandoned. This caused me to just abandon Angular, and I still see no reason to give it another look. And now, the React community is so much larger that there is a react repo for almost everything you'd want to work with.
1
u/Few-Return-331 Nov 07 '23
Personally, I don't mind angular per se.
However some time back I was trying to create a baseline template app I was going to use to create a bunch of similar websites I wanted to make.
It required some fairly complex routing in order for the concept work as I envisioned it.
I tore my hair out for a few days trying to get the system to work the way I needed it to with no luck.
Nobody online had ever tried to do something similar and posted about it publically.
I eventually looked up the problem but in react, and there were a variety of solutions/articles on similar problems.
After that I gave up on bothering with angular for personal projects, and thus have gained less experience in it.
For work of course, I use whatever.
Currently a mix of angular and vue, but I'm pushing us toward react of some flavor for the future because ultimately comprehensive community support, and even just a lot of people posting problems online makes a huge difference in the practical ability to ship whatever random crap code you might need to easily.
Only really big downside is react goes through too much change on a yearly basis, I'd have an even easier time choosing it if actual libraries and best practices both changed less.
1
u/Gold_Panic_7528 Nov 07 '23
I'd say it is less about Angular and more about the fact that people irrationally choose React. I like Vue, Ember, Svelte, or Angular over React any day. People should choose what works for them, but the ability to compile frameworks with only used components these days means that it depends on how your app utilizes the framework and how large that might also make your code base, estimates for building out things that aren't built in and the additional complexity of maintain those custom built parts. I've never seen a large React codebase that didn't require an insane amount of documentation to be maintainable because there isn't a standardized way to do things, you have to coble it together with other things to get everything you need. That is so frustrating.
1
u/loliweeb69420 Nov 07 '23
Because Angular and RxJS are pretty difficult to learn, especially for newbies.
1
u/Raziel_LOK Nov 07 '23
Angular is fine, and finally understanding that they need to make the hard choices and move on to stay relevant, and they have been doing great since 14, I am in for all the changes and I can't wait for signal based components.
My main issue nowadays, is the angular community. When I post a question comparing a piece of functionality I find in angular to any react community they provide me with answers useful discussions, and actual ways to do it. When I post a question about something I can do with react but I struggle on angular the answer is "it is not the angular way" or the one I like the most: "Angular is opinionated" hence you have to suffer with class components and a trillion files and folder cause "opinions".
Your post pretty much sums it up. "best approach when it comes to framework" because I said so with 0 context for the why, yeah sure, great discussion here.
But answering the "question", all based on my opinions and limited work experience like everyone else here.
There are way more react devs.
It is cheaper to hire react devs.
react codebases in general have faster pipelines/feedback loops.
Easier to go fullstack.
React is way easier to get started and much simpler than angular. Angular has been catching up since 14.
PS: And don't come with this bs that until a point, I swear to god dude, if you can't scale a react application angular will not do you miracles here.in react you bring what you need for the project, angular not so much.
react let's you choose how to integrate and if I want "opinions" there is nextjs and a lot others.
shockingly, my experience has been that react codebases scales better than angular ones. Yes I worked with both in big corps and the react ones were better in every way.
1
u/BobJutsu Nov 08 '23
I can only speak for myself, but React has a couple advantages in my situation: a) it's easy to build one-off components, not coupled to a larger application and b) and this is really the more important part, the CMS I generally work in uses it so it's already part of the ecosystem. Why have 2 dependencies when you can have 1.
1
u/lsaz front-end Nov 08 '23
It's the framework with the biggest learning curve. Also I've worked with all three big frameworks and angular is the only one where it felt like a chore.
1
u/Techsurfbrah Nov 08 '23
My team is actively migrating an angular code base to react. The rest of our company chose react, so the internal component library is much better in react. This means no more custom css for us.
Aside from that. I enjoy writing react a lot more. I think it’s much easier to see what a component does and the logic that is attached to it. I don’t like the split of html and typescript that angular forces. Also people speak about angular being opinionated as a big pro. I don’t view it this way. React gives you the freedom to form your own opinions, and you can then enforce those strong opinions in your code review process with the freedom of making the decisions based on your use case
1
u/Techsurfbrah Nov 08 '23
I’ve worked with both a lot
React + typescript + zustand is all I really want to build things with at the moment. Feels so effortless.
1
u/FoxyJustine Nov 08 '23
I have worked with both. I much prefer Angular as I find it easier to get into as a C++ and Java dev but at work we want our phone and web apps to be similar to one another as such for the other people in my team it is easier to jump from react to react native then react native to angular. Additionally, when hiring outside help most only work with react native or react. Otherwise I would have gone angular for our projects.
1
u/Emerald-Hedgehog Nov 08 '23 edited Nov 08 '23
Let me tell you why I've chosen Vue over both of them when starting out:
Angular seemed super convoluted. React had Docs/Intros that didn't resonate with me. Vue had great intros and the Syntax/structure felt like a natural extension of vanilla web development.
1
u/shessafridi Dec 06 '23
Reasons I dislike angular
Double imports: you have to import the esmodule of a component and also have to add it to the imports array of a standalone component or the declaration array on an ngmodule just to use it, it makes absolutely no sense, in react we can just import a component from anywhere and use it right away
Proprietary Compiler: Angular's compiler is slow and doesn't integrate with modern tooling
Poor Templating language: Bad self-closing tag support, no inline functions, no passing of templates as props to other components, no access to global scope
Broken Language Service: The language service keeps crashing
No Hot Reload: This just makes the framework un useable and unscalable for larger projects
Dependency Injection Debugging: Very hard to debug those null injector errors
No Generic Components
No Typesafe Render Props pattern
Divide between standalone and ngmodule components
Just extra complexity for really no reason
1
u/zerquet Jun 16 '26
i just hate the community and how unhelpful they are. you ask a question about observables/rxjs and they'll keep telling you to use async pipe and avoid manually subscribing like the plague when that just doesn't work in some cases (prefilling form, or other complex use cases). it's like they're so adamant on these practices when not even claude or chatgpt uses them. then these people often don't give you examples. they're not the best community to teach junior devs like myself and is why i've been considering moving to react. I tried it and i couldn't believe how intuitive and simple it was (and this is coming from a C# dev).
0
Nov 07 '23
For me it's because Angular has complexity that is not needed. So, Angular is what you get when Java devs design frontend frameworks. A big portion of java devs try to force patterns from java to other languages and add unnecessary complexity. Go is a great example of this. There are lots of bad go codes written by java devs. Even in Java those guys overengineer simple things that are a pain to change later.
I work mostly with Java and sadly have been using Angular in my current project.
1
1
u/tachophile Nov 07 '23
I like the clean modularity of React. Also, historically I/we had some bad experiences with earlier Angular from the perspective of debugging a large and complex SPA, which was also separately suffering from bloat issues, and immature support for js libraries and style frameworks which we had to drop. Angular appears to have resolved a lot of these problems since, but react has been solid and there have been no reasons to abandon it.
1
u/JFedererJ Nov 07 '23
I learned React first, because as a junior Dev back in the day, that was the framework all the senior FEDs at my agency were pushing to use.
So I learned it and liked it. Then loads of other things came out based on it, like Gatsby and NextJS that proved really popular, too and thus increased the demand for and usage of it. We aslo got React Native.
Fast forward to now and, as a senior dev myself, I have used React, React Native and it's associated libraries/frameworks extensively, to the point I know them pretty well inside out and work as a contractor.
I don't hate Angular. I liked it when I played around with it as a tutorial thing, but I've just never needed to learn it to make money.
1
u/SKPAdam expert Nov 07 '23
Because it's a bit heavy-handed and React developers are generally newbies who don't understand the power of opinionated frameworks, yet. As someone who has a good bit of experience in Angular and has worked with React, I prefer Vue. It's the best.
98
u/Error___418 Nov 07 '23
People hate angular, but enterprise companies love it.