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 mvc588
- Powerful572
- Restful521
- Backed by google503
- Two-way data binding349
- Javascript343
- Open source328
- Dependency injection306
- Readable197
- Fast75
- Directives64
- Great community63
- Free56
- Extend html vocabulary38
- Components29
- Easy to test26
- Easy to learn24
- Easy to templates23
- Great documentation23
- Easy to start21
- Awesome18
- Light weight17
- Javascript mvw framework14
- Angular 2.014
- Great extensions13
- Efficient13
- Easy to prototype with10
- Coffeescript8
- High performance8
- Mvc7
- Two-way binding7
- Lots of community modules7
- Clean and keeps code readable6
- Easy to e2e6
- One of the best frameworks5
- Easy for small applications5
- Fast development4
- Works great with jquery4
- I do not touch DOM3
- The two-way Data Binding is awesome2
- Typescript2
- Dart2
- Community2
- Hierarchical Data Structure2
- Be a developer, not a plumber.2
- Declarative programming2
- Common Place1
- Great1
- Very very useful and fast framework for development1
- Amazing community support1
- Readable code1
- Linear learning curve1
- Scopes1
- Programming fun again1
- The powerful of binding, routing and controlling routes1
- Consistency with backend architecture if using Nest1
- Fkin awesome1
- Opinionated in the right areas1
- Supports api , easy development1
Pros of React
- Components801
- Virtual dom663
- Performance571
- Simplicity500
- Composable442
- Data flow183
- Declarative165
- Isn't an mvc framework126
- Reactive updates116
- Explicit app state113
- JSX44
- Learn once, write everywhere27
- Easy to Use20
- Uni-directional data flow20
- Works great with Flux Architecture16
- Great perfomance11
- Built by Facebook9
- Javascript9
- TypeScript support7
- Speed6
- Hooks5
- Excellent Documentation5
- Props5
- Functional5
- Easy as Lego5
- Closer to standard JavaScript and HTML than others5
- Cross-platform5
- Server Side Rendering5
- Feels like the 90s5
- Easy to start5
- Awesome5
- Scalable5
- Strong Community4
- Server side views4
- Fancy third party tools4
- Scales super well4
- Start simple4
- Super easy4
- Simple, easy to reason about and makes you productive3
- Fast evolving3
- SSR3
- Great migration pathway for older systems3
- Rich ecosystem3
- Simple3
- Has functional components3
- Allows creating single page applications3
- Has arrow functions3
- Very gentle learning curve3
- Sdfsdfsdf3
- Beautiful and Neat Component Management3
- Just the View of MVC3
- Split your UI into components with one true state2
- Fragments2
- Sharable2
- Every decision architecture wise makes sense2
- Permissively-licensed2
- Image upload1
- HTML-like1
- Recharts1
Sign up to add or upvote prosMake informed product decisions
Cons of AngularJS
- Complex10
- Dependency injection3
- Event Listener Overload2
- Learning Curve2
- Hard to learn1
Cons of React
- Requires discipline to keep architecture organized38
- No predefined way to structure your app27
- Need to be familiar with lots of third party packages26
- JSX10
- Not enterprise friendly8
- One-way binding only6
- State consistency with backend neglected3
- Bad Documentation3
- Paradigms change too fast2
- Error boundary is needed2