Need advice about which tool to choose?Ask the StackShare community!
AngularJS vs React: What are the differences?
Developers describe AngularJS as "Superheroic JavaScript MVW Framework". AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding. On the other hand, React is detailed as "A JavaScript library for building user interfaces". Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
AngularJS belongs to "Javascript MVC Frameworks" category of the tech stack, while React can be primarily classified under "Javascript UI Libraries".
"Quick to develop", "Great mvc" and "Powerful" are the key factors why developers consider AngularJS; whereas "Components", "Virtual dom" and "Performance" are the primary reasons why React is favored.
AngularJS and React are both open source tools. React with 132K GitHub stars and 24.5K forks on GitHub appears to be more popular than AngularJS with 59.6K GitHub stars and 28.9K GitHub forks.
Airbnb, Uber Technologies, and Facebook are some of the popular companies that use React, whereas AngularJS is used by Google, Lyft, and Udemy. React has a broader approval, being mentioned in 3224 company stacks & 3088 developers stacks; compared to AngularJS, which is listed in 2799 company stacks and 1860 developer stacks.
Pros of AngularJS
- Quick to develop889
- Great mvc589
- Powerful573
- Restful520
- Backed by google505
- Two-way data binding349
- Javascript343
- Open source329
- Dependency injection307
- Readable197
- Fast75
- Directives65
- Great community63
- Free57
- Extend html vocabulary38
- Components29
- Easy to test26
- Easy to learn25
- Easy to templates24
- Great documentation23
- Easy to start21
- Awesome19
- Light weight18
- Angular 2.015
- Efficient14
- Javascript mvw framework14
- Great extensions14
- Easy to prototype with11
- High performance9
- Coffeescript9
- Two-way binding8
- Lots of community modules8
- Mvc8
- Easy to e2e7
- Clean and keeps code readable7
- One of the best frameworks6
- Easy for small applications6
- Works great with jquery5
- Fast development5
- I do not touch DOM4
- The two-way Data Binding is awesome4
- Hierarchical Data Structure3
- Be a developer, not a plumber.3
- Declarative programming3
- Typescript3
- Dart3
- Community3
- Fkin awesome2
- Opinionated in the right areas2
- Supports api , easy development2
- Common Place2
- Very very useful and fast framework for development2
- Linear learning curve2
- Great2
- Amazing community support2
- Readable code2
- Programming fun again2
- The powerful of binding, routing and controlling routes2
- Scopes2
- Consistency with backend architecture if using Nest2
- Fk react, all my homies hate react1
Pros of React
- Components836
- Virtual dom673
- Performance578
- Simplicity508
- Composable442
- Data flow186
- Declarative166
- Isn't an mvc framework128
- Reactive updates120
- Explicit app state115
- JSX50
- Learn once, write everywhere29
- Easy to Use22
- Uni-directional data flow21
- Works great with Flux Architecture17
- Great perfomance11
- Javascript10
- Built by Facebook9
- TypeScript support8
- Scalable6
- Speed6
- Server Side Rendering6
- Feels like the 90s5
- Cross-platform5
- Closer to standard JavaScript and HTML than others5
- Easy as Lego5
- Functional5
- Excellent Documentation5
- Props5
- Awesome5
- Hooks5
- Easy to start5
- Scales super well4
- Allows creating single page applications4
- Sdfsdfsdf4
- Start simple4
- Strong Community4
- Super easy4
- Server side views4
- Fancy third party tools4
- Rich ecosystem3
- Has arrow functions3
- Very gentle learning curve3
- Beautiful and Neat Component Management3
- Just the View of MVC3
- Simple, easy to reason about and makes you productive3
- Fast evolving3
- SSR3
- Great migration pathway for older systems3
- Simple3
- Has functional components3
- Every decision architecture wise makes sense3
- Sharable2
- Permissively-licensed2
- HTML-like2
- Image upload2
- Recharts2
- Fragments2
- Split your UI into components with one true state2
- React hooks1
- Datatables1
Sign up to add or upvote prosMake informed product decisions
Cons of AngularJS
- Complex12
- Event Listener Overload3
- Dependency injection3
- Hard to learn2
- Learning Curve2
Cons of React
- Requires discipline to keep architecture organized41
- No predefined way to structure your app30
- Need to be familiar with lots of third party packages29
- JSX13
- Not enterprise friendly10
- One-way binding only6
- State consistency with backend neglected3
- Bad Documentation3
- Error boundary is needed2
- Paradigms change too fast2