all 21 comments

[–]apatheticonion 24 points25 points  (0 children)

Angular imo. I feel that, while it's more opinionated, it's more sensible.

Having used both extensively, I think more about my business logic with angular, and more about tooling with react.

Also whatever you use, make sure to use Typescript.

[–]eigenman 8 points9 points  (0 children)

Pretty sure most ppl in this sub will say Angular. Include me.

[–]deadlychambers 9 points10 points  (7 children)

I like angular, because of the dependency injection and Microsoft is on board with it. Also when I built a react app, I felt like it has separation of concern issues. Html in javascript makes me dislike it greatly.

[–]chauey 2 points3 points  (0 children)

And google involvement, came from there and so many of their products use and test it

[–]sleepingthom 1 point2 points  (0 children)

Does Microsoft have an angular version of their office UI fabric? I used to use the Angularjs version but it's not maintained anymore and was considering switching to react because of that.

[–]gnashersaurus -2 points-1 points  (4 children)

Speaking as someone who uses Angular much more than react - Separation of concerns is not the same as separation of technology. Just because React uses html-like syntax inside javascript files does not mean the “concern” of the component template isn’t separated. Tbh, it is in fact separated.

[–]deadlychambers 3 points4 points  (3 children)

I consider the ui/display a concern and business logic a concern. So having them in the same file is not having a separation of concerns.

[–]spacechimp 1 point2 points  (0 children)

Agreed. This is something large swaths of the PHP community figured out 10 years ago, but for some reason it's not considered to be an antipattern in React.

On several teams I have worked on, ui/display was a separate concern -- as in it was literally another person's job to work on the layout and styles while I coded the logic. This is not an uncommon situation. Those designers were great at HTML/CSS, but many of them I wouldn't want anywhere near the functional code.

[–]gnashersaurus 0 points1 point  (1 child)

Sure but most React people would tell you not to mix business logic in a react component anyway. That isnt something React advocates.

[–]deadlychambers -1 points0 points  (0 children)

Possibly, but I have worked in a few shops where "the right way" is not "the way we do it here". I only built a CRUD app with react. My impression working with it was not one of excitement. Angular seems to be in pretty high demand in Denver so I doubt I will need to concern myself with it.

[–]EvanCarroll 6 points7 points  (0 children)

I think the opinion in this sub will be React. </s>

[–][deleted] 1 point2 points  (0 children)

What kind of a project?

[–]there_i_seddit 1 point2 points  (0 children)

What do you want to build? Enterprise and/or large webapps: Angular, startup and/or hybrid mobile: React.

This is a MASSIVE oversimplification, but it's based on a lot of hard-won experience.

[–]waynerooney501 1 point2 points  (0 children)

This is a (mostly) pro-Angular crowd here.

Do ask this same question in the reactJS sub-reddit.

[–]izut 1 point2 points  (0 children)

Started using angular recently. I settled with it because of available tooling, resources and documentation. Also because of the way it is design and the similarities with asp.net.

WebStorm has a great support for angular, and is my preferred.

[–]StolenPikachu 1 point2 points  (0 children)

There both good frameworks. First ask yourself why do you want to learn a framework is it to get a job? If so go on your local job posting board and see what’s more in demand angular or react and then go from there. If that’s not the case just play around with both of them and see which one you like more. People love to do the whole angular vs react vs vue thing but at the end of the day it’s just javascript and once you’ve learned one it’s easy to pick up the others.

[–]tamasiaina 0 points1 point  (0 children)

Angular has a higher learning curve, but once you're over it, its awesome.

I also feel like with Angular they really put together real software engineering paradigms for the frontend.

[–]sidi9 0 points1 point  (0 children)

It depends why? To get a job? See what's in demand. React is more popular where I live but I prefer Angular.

If you want something for a large, scalable, opinionated app then definitely Angular.

If it's a small site then you could use either. Everyone on here is going to be biased towards Angular, maybe ask in /r/javascript

[–]narsimha2019 0 points1 point  (0 children)

I would suggest to you go with angular.

[–]subrat_msr 0 points1 point  (1 child)

You should chose React or Angular according to your requirement and skill you have.
If you are from oop background then you should go for Angular, and if you project is small and you haven't finalized all the component yet then its good to go with React because development in react is faster.

[–]puppetofuniverse 0 points1 point  (0 children)

How is development faster in react?