DEV Community

Discussion on: Angular is almost always better than React

Collapse
 
polterguy profile image
Thomas Hansen • Edited

As a React developer it is easy to follow the application struture starting from the index file

That's the whole point. You say it yourself, as in; "It is easy to follow ..." - If you need to "follow" to understand things, you've added cognitive requirements that are not needed in an Angular app. In an Angular app, "following" is not required, because all apps have more or less the same structure. I love the following quote illustrating the problem ...

Don't make me think. If your code makes me think, there's something wrong with it

As to ...

You have also to consider performance, typescript utilization, code reusiblity, SSR for SEO

In backend administration apps (the use cases referred to in the OP) this is 100% irrelevant. Except reusability, which I suspect is just as good in Angular as in React ...

Edit - As to community support. Angular's community support is amazing, although React's community support might be larger. However, if you need community support, you've already forced me to "think". I don't want to think. Maybe I've got 20+ backend administration apps I am maintaining. Spending 30 seconds context switching between different apps as I jump around my codebase is 30 seconds too much ... :/

Collapse
 
mramadanahmed profile image
Mohamed Ramadan

@polterguy thanks for your clear reply. I just have some concerns about that

1- if we are speaking about admin apps only, so it should be clear in the title of the post because the title is more general for web development

2- I am not underestimate Angular and its community as I used both React and Angluar and I know both are big. But flexiblity of react and wider third patries packages can help the team to solve business requirements easier and faster.

Anyway I guess in big companies they have a guidelines for boilerplate new react projects so the structure will be the same among different projects and developers can easily swap between projects. Also I think new developers always need some kind of orientation even with Angular as you have the freedom to set a strategy of what goes as components and what goes as servies for example

Finally technologies selection has different factors depend on the requirements so I am not say I will always choose react but most probably I will

I hope that make sense. Thanks

Thread Thread
 
polterguy profile image
Thomas Hansen

Anyway I guess in big companies they have a guidelines for boilerplate new react projects so the structure will be the same among different projects

You wish ... ;)

Thank you :)