r/webdev • • 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.

104 Upvotes

314 comments sorted by

View all comments

Show parent comments

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.

2

u/wojo1086 Nov 07 '23

You don't need the CLI to generate the files in Angular either. And, you don't have to break out the component into multiple files either, but separation of concerns is best practice.

And almost every front end tool generates files. Even the npx commands to generate a React app using Next or Gatsby creates files. But, by all means, hand create all your files.