DEV Community

Discussion on: In defense of the Angular framework

Collapse
 
insanenaman profile image
Naman Gupta • Edited

I agree with everything you have mentioned above. I have been using angular for 3-4 years and now have just switched to react in current company😛(Reverse story of yours). In my view, if my app is going to be small then I would go for react. No need to write more code for simple things but if I know that the app is going to be huge and needs scaling on larger scale then I would prefer angular. It has everything for a fully fledged app, maintainable code and with new advancements, it's just getting better and better in terms of performance & build size. Also, You can use Rxjs to write async code anywhere. Promises do provide a way but when you need to do complex async operations like shooting 20-30 request at the same time and doing some computation with the incoming response then Rxjs provides a nice, easy syntax. I have used Rxjs in node and it really works well in writing async code for many cases. At last, thank you for this awesome blog. Keep writing.

Collapse
 
kononenkoam profile image
Anton Kononenko

Well, in reality if you have very complex app React would be more suitable solution, as it's works better in such cases. Angular is good when you want to scale (in terms of people) +/- common project, that's the place very Angular is really shine.

On other hand React for simple apps is overkill as well, there is better and simpler solutions.

React works best for the fixed teams (which has at least 1 senior developer), and complicated projects.

Popularity of Gatsby shows that React overused, as Gatsby in general kills main idea of React, and React on it's own not very simple as it may see on the first look.

Collapse
 
insanenaman profile image
Naman Gupta

😛😛 Well I agree with you as well. Atlast everything will come down to developer preference. Its just I like angular's idea to maintain code i.e three different files and yes more easy solutions are there for small apps. Indeed. I am happy to see frameworks like svelte which are simple.

Collapse
 
zasuh_ profile image
Žane Suhadolnik • Edited

I agree that I should have expanded on the RxJS thing a bit. It also handles http responses in a better way by providing options for success codes and failure code. Something you need to manually handle in React or use a third party package like Axios.

Thank you for the kind words!

Collapse
 
insanenaman profile image
Naman Gupta

Indeed. Initially I was also scared of Rx but when I got used to it then things changed. It's good. 😇😇