DEV Community

Jayesh Tembhekar ⚡
Jayesh Tembhekar ⚡

Posted on • Updated on

Has anyone worked in React and Angular both?

Two most popular front-end frameworks/library:

  • React
  • Angular

Which is your favorite one?
I would like to know 👩‍💻👨‍💻

Top comments (17)

Collapse
 
ip127001 profile image
Rohit Kumawat • Edited

Angular has a learning curve. It is a full-fledged framework. You won't face structuring problems or typescript integration.

React is a library and easy to get started. More JavaScript syntax like directly use the Array map method for looping and more real-life use cases of JS concepts like closures, binding, etc. If your JS fundamentals are strong, React will be easy to learn.

Collapse
 
dezfowler profile image
Derek Fowler

I prefer React but would add that Redux has been a large part of that which you can also use with Angular.

I think if you're from a background where code and markup is mixed in the page e.g. PHP then you'll probably prefer React. If you're from a separated markup and code-behind background e.g. ASP.NET / WPF you'll probably prefer Angular.

Collapse
 
ekeijl profile image
Edwin

React gives me freedom and speed that I want.

Angular got me banging my head against the wall trying to figure out the documentation. So many ways to do the same thing, unclear why things are the way they are.

To be fair, I have way more experience with React than Angular (only one project). Angular is more batteries included, but I would pick React over Angular any day.

Collapse
 
mindset profile image
Jayesh Tembhekar ⚡

Yeah, I also felt the same way 😅

Collapse
 
huberv profile image
Valentin Huber

I work with both and I really don't have a favourite:

I started with React and still like is "pureness" over the complexity of Angular, but when it comes to production-grade apps you have to add lots of libraries to a React project (routing, forms, ...) whereas Angular contains lots of that, including good documentation (if you know what you're doing).

So I would say that with React there's more than one way to do it whereas with Angular there is at least the default Angular way.

Collapse
 
kdfemi profile image
MiniSoda

I prefer Angular

Collapse
 
learosema profile image
Lea Rosema (she/her)

I've worked with both Angular and React. I think both have its strengths and weaknesses. I prefer React because I worked longer with it, and my recent experience using Angular went not so well. I was thrown into a long-existing Angular project and the person who was supposed to mentor me (I'm a junior) was a bit toxic.

When I asked for help and/or required more time to understand all the things about all the ngrx actions/reducers/effects that were implemented into the app, they mentioned something like "shame on you you didn't figure out that yourself".

I may give Angular a second chance but that negative experience was very recent. May take some time.

Collapse
 
flexbox profile image
David Leuliette 🤖

React because I am working with React Native.
The community is amazing and as a freelance I have more contracts with React.

I used AngularJS and Cordova (when it was still a thing) and the end result was not really good. Really slow application and outdated documentation.

I got the same effect working with Ruby on Rails Vs. Php frameworks.
Rails mades me super productive and it was not the case with php.

It's just a taste, find something you like working with, and ship product to makes your users happy 🚀

Collapse
 
ablil profile image
ablil

React is very easy to use, if you wanna get things done very quickly (relativly also), then your are good to go.

Once your project start to grow you'll find yourself implementing some stuff, than Angular provides for you by default.

Vue.js comes in the middle ground, build stuffs very quickly also and it will provides some common functionnality.

I've used vuejs and Angular, and I would say it depends, for example if im working on personal project or for freelancing I would choose vuejs, but if im working on a professional big project I would use Angular

Collapse
 
mohamed351 profile image
Mohamed Beshri Amer

react is one way data binding but Angular use Two Way Data binding
React is a library but Angular is a framework
In Big Projects I use Angular you can also work with react using Redux but i don't love redux to manage the state in small project i use react and ContextAPI .
by the way i prefer Angular

Collapse
 
seanmclem profile image
Seanmclem

I prefer react. The rigidity of angular is something that never really appealed that much to me, beyond typescript which I love. But the fact that Angular uses limited HTML templates always makes things harder for everyone

Collapse
 
janpauldahlke profile image
jan paul

i dont like the versioning of angular. its now 10? member good old 1.6

Collapse
 
amplanetwork profile image
Ampla Network

No, the good old 1.6 is for Counter Strike 😄

Collapse
 
janpauldahlke profile image
jan paul • Edited

en.wikipedia.org/wiki/AngularJS#De...

"The 1.6 release added many of the concepts of Angular to AngularJS [...]"

Thread Thread
 
amplanetwork profile image
Ampla Network

Never mind, you did not catch the joke lol

Collapse
 
devbyrayray profile image
Dev By RayRay

I worked with both.

React is simple to start. It offers a lot of freedom if you compare it to Angular. There is a lot of freedom to pick other libraries in combination with React, but this comes with a significant amount of responsibility. Next to the responsibility, not every React developer will use the same thing for state management.

Compare that to Angular. Angular is a framework with a lot of things in it. It offers less freedom but takes responsibility for you instead of moving that to you. Most developers that are using Angular are familiar with the same things (some details will differ).

My personal favorite is Angular for work, but the personal projects I do with React or Angular 😉

Collapse
 
hudehtech profile image
Hudehtech

React is more easy to understand and implement