DEV Community

Discussion on: React vs Angular – Which One to Choose in 2021?

Collapse
 
hakimio profile image
Tomas Rimkus • Edited

Putting your opinion as fact?

  • In a lot of cases Angular is faster when doing DOM manipulation and in some cases it has faster load times:

Angular vs. Vue vs. React: Comparing frameworks by performance

A Real-World Comparison of Front-End Frameworks

  • What do you mean exactly by "limited SEO options"? Angular supports SSR and you can make your app perfectly SEO friendly.
  • Huge size? Nonsense. If you are using some huge UI component library which is just some commonJS jQuery/JS library wrapped as Angular components, of course, you'll have huge bundle, but that's not Angular's fault, it's your library's fault. If you use official Angular component library (or some other UI library optimized for Angular) and lazy loaded modules, your bundle will be small and initial loading time will be really fast even on some slow 3G connection.
  • Learning curve. I agree that starting with Angular takes more effort than React, but building any performant, complex, large scale application will require spending just as much time if not more with React since you'll have to learn to use a lot of 3rd party tools (with varying complexity and level of support) and modular application design patterns.
  • React is better for bigger apps? Care to elaborate why is that?
  • Testing. It's not true that you have to use Jasmine for testing Angular. You can use Jest as well. If you are using Nrwl Nx for initializing your app, "jest" will be used by default instead of jasmine. Also, awesome Angular testing libraries like "shallow-render" allow you to choose between the two of them.

Your whole article seems to be biased against Angular...