SlideShare a Scribd company logo
1 of 31
•React vs. Angular vs. Vue
•Hosein Mansouri
•Qom Open Source Community
Basic Question?
– Which framework should is choose?
– Is angular than better than react?
– Vue is better?
– What I should learn?
– I try to answer some of these question…
Advanced Question?
• What are the basic programming concepts of the frameworks?
• How easy is it to use the frameworks for small or large
applications?
• What does the learning curve look like for each framework?
• What kind of performance can you expect from the frameworks?
• Ready, set, GO!
Angular History
• Angular is a TypeScript-based Javascript framework.
• Developed and maintained by Google
• Angular (also “Angular 2+”, “Angular 2” or “ng2”) is the
rewritten, mostly incompatible successor to AngularJS (also
“Angular.js” or “AngularJS 1.x”)
• Released in October 2010
Angular History
• The newest major release is version 5, Older version is 4
and version 3 was skipped.
• Angular is used by Google, Wix, weather.com, healthcare.gov
and Forbes
Angular 2 or above
• Benefit
– Modularity
– Dependency Injection
– Routing
– Validation
– TypeScript(like C#, like Java)
– Clear separation between HTML an TypeScript
Angular 2 or above
• Disadvantages
– Angular feature can confusing for newcomers
– Backward Compatibility (new release breaking change)
– TypeScript (for java script background)
React History
• React is described as “a JavaScript library for building user
interfaces”.
• Initially released in March 2013
• React was developed and is maintained by Facebook
• React components on several pages
React History
• React is also used by Airbnb, Uber, Netflix, Twitter, Pinterest,
Reddit, Udemy, Wix, Paypal, Imgur, Feedly, Stripe, Tumblr,
Walmart and others
• React Fiber was released with React 16 in September 2017.
React
• Benefit
– Support by Facebook
– JSX (Mixing java script and HTML)
– Active Community
– Many Package
– Easy to use
– Like React native
React
• Disadvantage
– JSX (can’t use normal HTML)
– Add extra router
– Add extra form validation
Vue History
• Vue describes itself as a “Intuitive, Fast and
Composable MVVM for building interactive interfaces.”
• Vue is one of the most rapidly growing JS frameworks in 2016.
• It was first released in February 2014 by ex-Google-
employee Evan You
Vue History
• It’s been quite a success, especially given that Vue is getting so
much traction as a one-man show without the backing of a big
company.
• In 2016, version 2 was released.
• Vue is used by Alibaba, Baidu, Expedia, Nintendo, GitLab
Vue
• Benefit
– Great Idea from angular and react
– Use ES5 and ES6
– Separation template and java script code
– Normal HTML and Normal CSS
– Easy to learn, Easy to use
– Router is provided
– Great Communication
– A Great Documentation
Vue
• Disadvantage
– Is New
– Lack dependency injection
– Don’t use by a great company
– Less job
Comparison of React, Angular & Vue
GitHub Star
NPM Trends
Google Trends
Components
• The frameworks in question are all component-based.
• The defined components should be easy to reuse on the
webpage or within other components.
Typescript vs. ES6 vs. ES5
• React focuses on the use of Javascript ES6. Vue uses Javascript
ES5 or ES6. Angular relies on TypeScript.
• TypeScript also introduces concepts like decorators and static
types. Static types are useful for code intelligence tools, like
automatic refactoring, jump to definitions, etc.
• TypeScript adds a lot of (learning) overhead to projects
Templates —JSX or HTML
• React breaks with long-standing best practices. For decades,
developers were trying to separate UI templates and inline
Javascript logic, but with JSX, these are intermixed again.
• JSX is a big advantage for development, because you have
everything in one place, and code completion and compile-time
checks work better.
• “Angular 2 continues to put ‘JS’ into HTML. React puts ‘HTML’ into
JS.”. This is a good thing, because Javascript is more powerful than
HTML.
Framework vs. library
• Angular is a framework rather than a library because it
provides strong opinions as to how your application should be
structured and also has more functionality out of the box.
Angular is a “complete solution.
• React and Vue, on the other hand, are universally flexible.
Their libraries can be paired to all kinds of packages.
Other programming concepts
• The model-view-controller pattern (MVC) splits a project into
three components: model, view and controller. Angular as an
MVC-framework has MVC out of the box. React only has the
V — you need to solve the M and C on your own.
Flexibility & downsizing to microservices
• You can work with React or Vue by simply adding the Javascript
library to the source code. This is not possible with Angular
because of its use of TypeScript.
• Angular work best for SPA, as it is probably too bloated to be
used for microservices.
Long-term support & migrations- React
• React APIs are quite stable, as Facebook states in their design
principles. There are also some scripts to help you move from your
current API to a newer one.
• Migrations are quite easy and there is no such thing (needed) as a
long-term-support version.
• When they add a deprecation warning, they keep it for the rest of
the current release version before the behavior is changed in the
next major version.
Long-term support & migrations - Angular
• There will be one major update every six months, and there
will be a deprecation period of at least six months (two major
releases).
• Angular team has announced long-term-support versions
starting with Angular 4.
• This means Angular 4 will be supported until at
least September 2018 with bug-fixes and important patches.
Long-term support & migrations - Vue
• The update process for Vue 1.x to 2.0 should be easy for a
small app —the developer team has asserted that 90% of the
APIs stayed the same.
• There is no clear (public) roadmap about the next major
version or information on plans for LTS versions.
What should I choose?
• If you love TypeScript: Angular (or React)
• If you love object-orientated-programming (OOP): Angular
• If you need guidance, structure and a helping hand: Angular
• If you like flexibility: React
• If you love big ecosystems: React
• If you like choosing among dozens of packages: React
• If you love JS & the “everything-is-Javascript-approach”: React
What should I choose?
• If you like really clean code: Vue
• If you want the easiest learning curve: Vue
• If you want the most lightweight framework: Vue
• If you are working alone or have a small team: Vue (or React)
• If your app tends to get really large: Angular (or React)
• If you want to build an app with react-native: React
• If you want to have a lot of developers in the pool: Angular or
React
• If you work with designers and need clean HTML files: Angular or
Vue
THE END & Thanks.

More Related Content

What's hot (20)

BDD with Cucumber
BDD with CucumberBDD with Cucumber
BDD with Cucumber
 
Modern JavaScript Frameworks: Angular, React & Vue.js
Modern JavaScript Frameworks: Angular, React & Vue.jsModern JavaScript Frameworks: Angular, React & Vue.js
Modern JavaScript Frameworks: Angular, React & Vue.js
 
Angular vs. React
Angular vs. ReactAngular vs. React
Angular vs. React
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
Introduction to Progressive web app (PWA)
Introduction to Progressive web app (PWA)Introduction to Progressive web app (PWA)
Introduction to Progressive web app (PWA)
 
React js
React jsReact js
React js
 
Its time to React.js
Its time to React.jsIts time to React.js
Its time to React.js
 
Angular overview
Angular overviewAngular overview
Angular overview
 
Introduction to Ionic framework
Introduction to Ionic frameworkIntroduction to Ionic framework
Introduction to Ionic framework
 
Progressive Web Apps(PWA)
Progressive Web Apps(PWA)Progressive Web Apps(PWA)
Progressive Web Apps(PWA)
 
React Workshop
React WorkshopReact Workshop
React Workshop
 
Intro to React
Intro to ReactIntro to React
Intro to React
 
Introduction to Node.js
Introduction to Node.jsIntroduction to Node.js
Introduction to Node.js
 
FULL stack -> MEAN stack
FULL stack -> MEAN stackFULL stack -> MEAN stack
FULL stack -> MEAN stack
 
Reactjs workshop
Reactjs workshop Reactjs workshop
Reactjs workshop
 
Introduction to NodeJS
Introduction to NodeJSIntroduction to NodeJS
Introduction to NodeJS
 
Gradle Introduction
Gradle IntroductionGradle Introduction
Gradle Introduction
 
Jenkins Overview
Jenkins OverviewJenkins Overview
Jenkins Overview
 
Jenkins tutorial
Jenkins tutorialJenkins tutorial
Jenkins tutorial
 
Hybrid application development
Hybrid application developmentHybrid application development
Hybrid application development
 

Similar to Angular vs React vs Vue

Angular vs react comparison in 2022 which is better and why
Angular vs react comparison in 2022 which is better and whyAngular vs react comparison in 2022 which is better and why
Angular vs react comparison in 2022 which is better and whyNoman Shaikh
 
Vue Framework: Why is the best alternative to React and Angular? 
Vue Framework: Why is the best alternative to React and Angular? Vue Framework: Why is the best alternative to React and Angular? 
Vue Framework: Why is the best alternative to React and Angular? simonedaniels3
 
Comparison of-angular-8 vs react-js
Comparison of-angular-8 vs react-jsComparison of-angular-8 vs react-js
Comparison of-angular-8 vs react-jseasyjobworld
 
When It Comes Down To Choosing Between Angular OR React Framework For Your Ap...
When It Comes Down To Choosing Between Angular OR React Framework For Your Ap...When It Comes Down To Choosing Between Angular OR React Framework For Your Ap...
When It Comes Down To Choosing Between Angular OR React Framework For Your Ap...Moon Technolabs Pvt. Ltd.
 
Angular VS React The Battle of Best Front End Frameworks.pdf
Angular VS React The Battle of Best Front End Frameworks.pdfAngular VS React The Battle of Best Front End Frameworks.pdf
Angular VS React The Battle of Best Front End Frameworks.pdfJS Panther Pvt. Ltd.
 
Angular vs React - An Overview Of The Best Front End Development Frameworks i...
Angular vs React - An Overview Of The Best Front End Development Frameworks i...Angular vs React - An Overview Of The Best Front End Development Frameworks i...
Angular vs React - An Overview Of The Best Front End Development Frameworks i...Velan Apps
 
Angular.js vs. vue.js – which one is the better choice in 2022
Angular.js vs. vue.js – which one is the better choice in 2022 Angular.js vs. vue.js – which one is the better choice in 2022
Angular.js vs. vue.js – which one is the better choice in 2022 Moon Technolabs Pvt. Ltd.
 
The Pros and Cons of Angular Development: All You Need to Know
The Pros and Cons of Angular Development: All You Need to KnowThe Pros and Cons of Angular Development: All You Need to Know
The Pros and Cons of Angular Development: All You Need to KnowHepto Software Company
 
Evolution and History of Angular as Web Development Platform.pdf
Evolution and History of Angular as Web Development Platform.pdfEvolution and History of Angular as Web Development Platform.pdf
Evolution and History of Angular as Web Development Platform.pdfiFour Technolab Pvt. Ltd.
 
Angular 2 vs React. What to chose in 2017?
Angular 2 vs React. What to chose in 2017?Angular 2 vs React. What to chose in 2017?
Angular 2 vs React. What to chose in 2017?TechMagic
 
Swagger - Making REST APIs friendlier
Swagger - Making REST APIs friendlierSwagger - Making REST APIs friendlier
Swagger - Making REST APIs friendlierMiroslav Resetar
 
Angular vs React: Making an Informed Decision for Your Web Development
Angular vs React: Making an Informed Decision for Your Web DevelopmentAngular vs React: Making an Informed Decision for Your Web Development
Angular vs React: Making an Informed Decision for Your Web DevelopmentFredReynolds2
 

Similar to Angular vs React vs Vue (20)

Angular vs react
Angular vs reactAngular vs react
Angular vs react
 
Angular vs react comparison in 2022 which is better and why
Angular vs react comparison in 2022 which is better and whyAngular vs react comparison in 2022 which is better and why
Angular vs react comparison in 2022 which is better and why
 
Vue Framework: Why is the best alternative to React and Angular? 
Vue Framework: Why is the best alternative to React and Angular? Vue Framework: Why is the best alternative to React and Angular? 
Vue Framework: Why is the best alternative to React and Angular? 
 
Comparison of-angular-8 vs react-js
Comparison of-angular-8 vs react-jsComparison of-angular-8 vs react-js
Comparison of-angular-8 vs react-js
 
When It Comes Down To Choosing Between Angular OR React Framework For Your Ap...
When It Comes Down To Choosing Between Angular OR React Framework For Your Ap...When It Comes Down To Choosing Between Angular OR React Framework For Your Ap...
When It Comes Down To Choosing Between Angular OR React Framework For Your Ap...
 
Angular Vs React Vs Vue.pptx
Angular Vs React Vs Vue.pptxAngular Vs React Vs Vue.pptx
Angular Vs React Vs Vue.pptx
 
Angular 2
Angular 2Angular 2
Angular 2
 
Angular VS React The Battle of Best Front End Frameworks.pdf
Angular VS React The Battle of Best Front End Frameworks.pdfAngular VS React The Battle of Best Front End Frameworks.pdf
Angular VS React The Battle of Best Front End Frameworks.pdf
 
THE FUTURE OF ANGULAR JS
THE FUTURE OF ANGULAR JSTHE FUTURE OF ANGULAR JS
THE FUTURE OF ANGULAR JS
 
Angular vs React - An Overview Of The Best Front End Development Frameworks i...
Angular vs React - An Overview Of The Best Front End Development Frameworks i...Angular vs React - An Overview Of The Best Front End Development Frameworks i...
Angular vs React - An Overview Of The Best Front End Development Frameworks i...
 
Eureko frameworks
Eureko frameworksEureko frameworks
Eureko frameworks
 
Angular.js vs. vue.js – which one is the better choice in 2022
Angular.js vs. vue.js – which one is the better choice in 2022 Angular.js vs. vue.js – which one is the better choice in 2022
Angular.js vs. vue.js – which one is the better choice in 2022
 
What is Angular?
What is Angular?What is Angular?
What is Angular?
 
The Pros and Cons of Angular Development: All You Need to Know
The Pros and Cons of Angular Development: All You Need to KnowThe Pros and Cons of Angular Development: All You Need to Know
The Pros and Cons of Angular Development: All You Need to Know
 
Evolution and History of Angular as Web Development Platform.pdf
Evolution and History of Angular as Web Development Platform.pdfEvolution and History of Angular as Web Development Platform.pdf
Evolution and History of Angular as Web Development Platform.pdf
 
Angular 2 vs React. What to chose in 2017?
Angular 2 vs React. What to chose in 2017?Angular 2 vs React. What to chose in 2017?
Angular 2 vs React. What to chose in 2017?
 
Swagger - Making REST APIs friendlier
Swagger - Making REST APIs friendlierSwagger - Making REST APIs friendlier
Swagger - Making REST APIs friendlier
 
Javascript frameworks
Javascript frameworksJavascript frameworks
Javascript frameworks
 
Angular vs React: Making an Informed Decision for Your Web Development
Angular vs React: Making an Informed Decision for Your Web DevelopmentAngular vs React: Making an Informed Decision for Your Web Development
Angular vs React: Making an Informed Decision for Your Web Development
 
FinalReport
FinalReportFinalReport
FinalReport
 

Recently uploaded

Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfryanfarris8
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfproinshot.com
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfVishalKumarJha10
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionOnePlan Solutions
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...software pro Development
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 

Recently uploaded (20)

Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 

Angular vs React vs Vue

  • 1. •React vs. Angular vs. Vue •Hosein Mansouri •Qom Open Source Community
  • 2. Basic Question? – Which framework should is choose? – Is angular than better than react? – Vue is better? – What I should learn? – I try to answer some of these question…
  • 3. Advanced Question? • What are the basic programming concepts of the frameworks? • How easy is it to use the frameworks for small or large applications? • What does the learning curve look like for each framework? • What kind of performance can you expect from the frameworks? • Ready, set, GO!
  • 4. Angular History • Angular is a TypeScript-based Javascript framework. • Developed and maintained by Google • Angular (also “Angular 2+”, “Angular 2” or “ng2”) is the rewritten, mostly incompatible successor to AngularJS (also “Angular.js” or “AngularJS 1.x”) • Released in October 2010
  • 5. Angular History • The newest major release is version 5, Older version is 4 and version 3 was skipped. • Angular is used by Google, Wix, weather.com, healthcare.gov and Forbes
  • 6. Angular 2 or above • Benefit – Modularity – Dependency Injection – Routing – Validation – TypeScript(like C#, like Java) – Clear separation between HTML an TypeScript
  • 7. Angular 2 or above • Disadvantages – Angular feature can confusing for newcomers – Backward Compatibility (new release breaking change) – TypeScript (for java script background)
  • 8. React History • React is described as “a JavaScript library for building user interfaces”. • Initially released in March 2013 • React was developed and is maintained by Facebook • React components on several pages
  • 9. React History • React is also used by Airbnb, Uber, Netflix, Twitter, Pinterest, Reddit, Udemy, Wix, Paypal, Imgur, Feedly, Stripe, Tumblr, Walmart and others • React Fiber was released with React 16 in September 2017.
  • 10. React • Benefit – Support by Facebook – JSX (Mixing java script and HTML) – Active Community – Many Package – Easy to use – Like React native
  • 11. React • Disadvantage – JSX (can’t use normal HTML) – Add extra router – Add extra form validation
  • 12. Vue History • Vue describes itself as a “Intuitive, Fast and Composable MVVM for building interactive interfaces.” • Vue is one of the most rapidly growing JS frameworks in 2016. • It was first released in February 2014 by ex-Google- employee Evan You
  • 13. Vue History • It’s been quite a success, especially given that Vue is getting so much traction as a one-man show without the backing of a big company. • In 2016, version 2 was released. • Vue is used by Alibaba, Baidu, Expedia, Nintendo, GitLab
  • 14. Vue • Benefit – Great Idea from angular and react – Use ES5 and ES6 – Separation template and java script code – Normal HTML and Normal CSS – Easy to learn, Easy to use – Router is provided – Great Communication – A Great Documentation
  • 15. Vue • Disadvantage – Is New – Lack dependency injection – Don’t use by a great company – Less job
  • 16. Comparison of React, Angular & Vue
  • 20. Components • The frameworks in question are all component-based. • The defined components should be easy to reuse on the webpage or within other components.
  • 21. Typescript vs. ES6 vs. ES5 • React focuses on the use of Javascript ES6. Vue uses Javascript ES5 or ES6. Angular relies on TypeScript. • TypeScript also introduces concepts like decorators and static types. Static types are useful for code intelligence tools, like automatic refactoring, jump to definitions, etc. • TypeScript adds a lot of (learning) overhead to projects
  • 22. Templates —JSX or HTML • React breaks with long-standing best practices. For decades, developers were trying to separate UI templates and inline Javascript logic, but with JSX, these are intermixed again. • JSX is a big advantage for development, because you have everything in one place, and code completion and compile-time checks work better. • “Angular 2 continues to put ‘JS’ into HTML. React puts ‘HTML’ into JS.”. This is a good thing, because Javascript is more powerful than HTML.
  • 23. Framework vs. library • Angular is a framework rather than a library because it provides strong opinions as to how your application should be structured and also has more functionality out of the box. Angular is a “complete solution. • React and Vue, on the other hand, are universally flexible. Their libraries can be paired to all kinds of packages.
  • 24. Other programming concepts • The model-view-controller pattern (MVC) splits a project into three components: model, view and controller. Angular as an MVC-framework has MVC out of the box. React only has the V — you need to solve the M and C on your own.
  • 25. Flexibility & downsizing to microservices • You can work with React or Vue by simply adding the Javascript library to the source code. This is not possible with Angular because of its use of TypeScript. • Angular work best for SPA, as it is probably too bloated to be used for microservices.
  • 26. Long-term support & migrations- React • React APIs are quite stable, as Facebook states in their design principles. There are also some scripts to help you move from your current API to a newer one. • Migrations are quite easy and there is no such thing (needed) as a long-term-support version. • When they add a deprecation warning, they keep it for the rest of the current release version before the behavior is changed in the next major version.
  • 27. Long-term support & migrations - Angular • There will be one major update every six months, and there will be a deprecation period of at least six months (two major releases). • Angular team has announced long-term-support versions starting with Angular 4. • This means Angular 4 will be supported until at least September 2018 with bug-fixes and important patches.
  • 28. Long-term support & migrations - Vue • The update process for Vue 1.x to 2.0 should be easy for a small app —the developer team has asserted that 90% of the APIs stayed the same. • There is no clear (public) roadmap about the next major version or information on plans for LTS versions.
  • 29. What should I choose? • If you love TypeScript: Angular (or React) • If you love object-orientated-programming (OOP): Angular • If you need guidance, structure and a helping hand: Angular • If you like flexibility: React • If you love big ecosystems: React • If you like choosing among dozens of packages: React • If you love JS & the “everything-is-Javascript-approach”: React
  • 30. What should I choose? • If you like really clean code: Vue • If you want the easiest learning curve: Vue • If you want the most lightweight framework: Vue • If you are working alone or have a small team: Vue (or React) • If your app tends to get really large: Angular (or React) • If you want to build an app with react-native: React • If you want to have a lot of developers in the pool: Angular or React • If you work with designers and need clean HTML files: Angular or Vue
  • 31. THE END & Thanks.