Angular vs React - alexanderteplov/computer-science GitHub Wiki

Angular vs React

Angular

Pros

  • abundant resources and support: Google offers a rich treasure trove of resources and rolls out new updates and improvements every 6 months;
  • component-based architecture is a key concept;
  • scalable for huge teams;
  • big community;
  • a lot of experienced developers.

Cons

  • difficult syntax: Angular has made a big leap in terms of syntax complexity after adopting TypeScript in Angular2 and beyond. Yet it poses a steep learning curve for anyone making a transition from vanilla JS.
  • steep learning curve: Angular has the steepest learning curve and suffers from a very high rate of abandonment. A large base of angular users has moved to Vue and react.

React

Pros

  • easy to maintain isolated components in React and they are easy to reuse;
  • convenient architecture – Flux – is highly competitive to MVC. One-way data flow provides maintainability and efficient arrangement of data and DOM elements;
  • lightweight among the ones that are widely used today;
  • component-based architecture can be implemented;
  • ranked 1st most popular front-end javascript framework in State Of JS survey;
  • backward compatibility – Transitioning or migrating from older to new versions is fairly easy in react using CodeMods;
  • rich community;
  • a lot of experienced developers.

Cons

  • use JSX proprietary technology (add extra abstractions over HTML);
  • Not a complete solution. (To have a complete solution React should be used with other staff like Routing, State management system, etc.)
  • Not opinionated in terms of an application structure. Code organization methodology should be defined at the beginning of the project.

Links

⚠️ **GitHub.com Fallback** ⚠️