DEV Community

Discussion on: Is Angular still relevant in 2022?

Collapse
 
talr98 profile image
Tal Rofe

There is use for Angular and use for React.
In my opinion, React for small-medium projects. Rest - Angular.

Collapse
 
tomaszs2 profile image
Tom Smykowski

I know what you have in mind. However I wonder if I'd choose React for my small medium projects.. Because setting up and wiring React setup is much more time consuming than Angular. Maintaining all libraries around React as well. Taught call

Collapse
 
knitesh profile image
Kumar Nitesh

I am not sure from where this idea 'React for small or medium project' has originated, but React is use to build Facebook.com, which in no means a small or medium web application. I have work on both React and Angular, and as a new JS developer I feel React is faster to setup and start working on compared to Angular.

Thread Thread
 
tomaszs2 profile image
Tom Smykowski

It is really not clear what Facebook uses for the frontend. Maybe somewhere there is React, but it does not seem to be nowhere near React we all use. It is just different scale of a project.

What makes setting up Angular harder for you than React?

Thread Thread
 
knitesh profile image
Kumar Nitesh • Edited

Here is an article from FB engineering team
engineering.fb.com/2020/05/08/web/...

and an excerpt from the same

Today, we’re sharing the lessons we’ve learned while rearchitecting Facebook.com, using React (a declarative JavaScript library for building user interfaces) and Relay (a GraphQL client for React).

Thread Thread
 
knitesh profile image
Kumar Nitesh • Edited

and I am not saying Angular is not relevant, it's relevant and much needed framework. I am just commenting on the fact that React is also for large project, and not only FB but tons of other companies (including mine) uses it.

Thread Thread
 
tomaszs2 profile image
Tom Smykowski

It is a great starting point for you to learn more about Facebook stack.

What makes it harder for you to set up Angular project compared to React?

Thread Thread
 
knitesh profile image
Kumar Nitesh

Learning Typescript, using angular specific way of doing things. As a new JS developer I just want to add script tag including any JS library that I want to use and start writing code.

Thread Thread
 
talr98 profile image
Tal Rofe • Edited

The fact Facebook and more organizations use React over Angular in big projects doesn't really prove something. I work in big company, and one of the product I'm working on is implemented in React.

As this product founded, the reason for picking React wasn't really serious in aspects of scale. They just chose.
Sometimes, project's environment is being chosen just because the "founders" are in rush, or they just know React so they say "No time to learn the Angular framework now. We know React - let's go"

I would use Angular for high-scales project and ones that may grow because Angular supports out of the box the IoC concept.

Also you get the dependency injection (services) option over Redux - which I prefer.

Thread Thread
 
knitesh profile image
Kumar Nitesh

Ok, good for you.

 
tomaszs2 profile image
Tom Smykowski

Thanks for sharing. It lines up with the thing that React is jQuery+. Nothing wrong about it, among other for reasons you wrote. The thing is that Typescript and some other standards are already set up in Angular. While to reach the same level of framework setup with React takes a lot more time and effort. Also, not always worth it. For example Typescript's negative perception comes directly from React's and Redux failure to recognize OOP. They make people hate TS