SlideShare a Scribd company logo
Igor Kosulin, 2015
AngularJS + React
Speedup research and comparison
What AngularJS is
● MVC client-side framework
● A bridge to future (Web Components, etc)
● Very opinionated framework
● A pretty good working concept how it can be
● Nice for web apps of small and middle size
● Declarative style
● Force to create separate modules
What React is
● Virtual DOM framework
● Use reactive concepts for DOM rendering
● Pretty straightforward
● JSX
● Everything is in jsx
● Force to create separate modules
● Thinking in React
Why do we need this
● Tired of Angular, want to move forward
● Want to try React
● Replace V in Angular MVC
● Performance issues
● Cause it’s fun to combine uncombinable
● As a proof of concept
Javascript evolution
● Simple effects on HTML-page
● Simple libraries
● DOM manipulation frameworks
● MVC frameworks, Virtual DOM frameworks
● Full-stack frameworks?
Haters
gonna
hate
What Angular haters say
● Slow two-way data binding
● Dependency Injection minification issue
● Too much: Provider, Service, Factory….
● Directives are too complex
● Hard to find developers who can use it
● Angular 2.0 is almost coming
● Poor docs, logic in views, debugging...
Angular 1.3 features
● Performance optimization (3-4x faster)
● Easier forms
● ARIA support
● Material design
Angular 2.0
● Total rewrite, but core concepts preserved
● Unified component model
● Modular, mobile-first
● Revised concept of “scope”
● Web Components, ES6, TypeScript 1.5
● Team will support 1.3 branch for 1.5-2 years
after 2.0 final release
● Team will write a converter for old code
Google vs Facebook
Angular + React = ?
Angular + React
= ngReact
● Angular module
● Can use React Components as directives
Test case #1
Javascript code
● Direct DOM manipulation
● Fastest possible version
jQuery code
● jQuery.append()
● Overhead of very small
● React code (React Component)
● Angular code
AngularJS + React
AngularJS + React
Test case #2
● React code (PersonRow)
● React code (PersonTable)
● React code (ModifiablePersonTable)
● React code (ModifiablePersonTable)
That’s finally it… :)
● Angular code
● Angular code (reusable FocusOn directive)
AngularJS + React
AngularJS + React
Comparison
Pros
● Angular code is shorter (23 js + 6 html vs 105 js)
● Angular is more responsive
Cons
● Angular is slower to render
● Angular is fatter (memory consumption)
When use ngReact
● For existing Angular apps only
● For very big lists (but prefer paging)
● For complex logic (but prefer optimizations)
● For easy slow migration
When use Angular
● For web apps small and middle size
● For fast prototyping
● For not very fat apps
● For newbies: a way to learn JS, they will
definitely meet all the issues
● For professionals: to write tiny solid code
● “Write less, do more” ⓒ jQuery
When use React
● Actually no limits, especially if you want to
write many lines of code
Thanks for your attention!
Any questions?

More Related Content

What's hot (20)

PPTX
React Vs AnagularJS
deepakpatil84
 
PPTX
AngularJS vs React JS vs Node JS: Which is Best For Web Development ?
MarkupBox
 
PDF
React vs angular (mobile first battle)
Michael Haberman
 
PDF
Isolated React Js components
Abe García
 
PDF
React vs Angular2
Corley S.r.l.
 
PDF
Angular js - 10 reasons to choose angularjs
Nir Kaufman
 
PDF
What angular 13 will bring to the table
Moon Technolabs Pvt. Ltd.
 
PDF
Transforming Front-End Disaster Code™ Into A Maintainable Masterpiece
Dan Gribbin
 
PDF
Angular 2 interview questions and answers
Anil Singh
 
PPTX
React js Online Training
Learntek1
 
PPTX
Javascript Frameworks Comparison - Angular, Knockout, Ember and Backbone
Deepu S Nath
 
PPTX
AngularJS is awesome
Eusebiu Schipor
 
PPTX
React or Angular and SharePoint Framework Development
Darin Dickey
 
PPTX
Reactjs workshop
Ahmed rebai
 
PDF
Tech Talk on ReactJS
Atlogys Technical Consulting
 
PPTX
Angular js tutorial slides
samhelman
 
PDF
Unit testing
Leonardo Balter
 
PDF
Gettings started with the superheroic JavaScript library AngularJS
Armin Vieweg
 
PPTX
AngularJS One Day Workshop
Shyam Seshadri
 
PPTX
Latest Javascript MVC & Front End Frameworks 2017
AmarInfotech
 
React Vs AnagularJS
deepakpatil84
 
AngularJS vs React JS vs Node JS: Which is Best For Web Development ?
MarkupBox
 
React vs angular (mobile first battle)
Michael Haberman
 
Isolated React Js components
Abe García
 
React vs Angular2
Corley S.r.l.
 
Angular js - 10 reasons to choose angularjs
Nir Kaufman
 
What angular 13 will bring to the table
Moon Technolabs Pvt. Ltd.
 
Transforming Front-End Disaster Code™ Into A Maintainable Masterpiece
Dan Gribbin
 
Angular 2 interview questions and answers
Anil Singh
 
React js Online Training
Learntek1
 
Javascript Frameworks Comparison - Angular, Knockout, Ember and Backbone
Deepu S Nath
 
AngularJS is awesome
Eusebiu Schipor
 
React or Angular and SharePoint Framework Development
Darin Dickey
 
Reactjs workshop
Ahmed rebai
 
Tech Talk on ReactJS
Atlogys Technical Consulting
 
Angular js tutorial slides
samhelman
 
Unit testing
Leonardo Balter
 
Gettings started with the superheroic JavaScript library AngularJS
Armin Vieweg
 
AngularJS One Day Workshop
Shyam Seshadri
 
Latest Javascript MVC & Front End Frameworks 2017
AmarInfotech
 

Similar to AngularJS + React (20)

PDF
Angular vs react comparison in 2022 which is better and why
Noman Shaikh
 
PDF
AngularJS Vs ReactJS_ What’s The Difference_.pdf
Onviqa Pvt. Ltd.
 
PDF
Angular vs.pdf
SophiaJasper
 
PDF
React vs. angular a comprehensive guideline for choosing right front-end fr...
Katy Slemon
 
PDF
React.js vs angular.js a comparison
Narola Infotech
 
PPTX
Comparison of-angular-8 vs react-js
easyjobworld
 
PDF
FinalReport
Sonali Patil
 
PDF
Angular vs React: Making an Informed Decision for Your Web Development
FredReynolds2
 
PDF
Angular VS React Js: Which is Better for Web Development?
Semiosis Software Private Limited
 
PDF
Angular vs React 2019 [UPDATED] - tecHindustan
tecHIndustan Solutions
 
PDF
Angular VS React The Battle of Best Front End Frameworks.pdf
JS Panther
 
PDF
Which technology has a better future_ AngularJS or ReactJS_.pdf
Moon Technolabs Pvt. Ltd.
 
PPTX
Angular vs react
Infinijith Technologies
 
DOCX
React VS Angular- Which is Best for You in 2023?
CMARIX TechnoLabs
 
PDF
Advantages of React over Angular
Anju21552
 
PDF
React vs angular which front end framework should you choose and why
Katy Slemon
 
PDF
AngularJS vs ReactJS: Which One is Best for Next Front-end Development
Andolasoft Inc
 
PDF
React vs Angular, who wins the competition?
Brocoders - Software Development Company
 
PDF
Angular VS React: Which is Better for Web Development?
Semiosis Software Private Limited
 
PDF
React js vs angularjs which framework to choose in 2022_
Moon Technolabs Pvt. Ltd.
 
Angular vs react comparison in 2022 which is better and why
Noman Shaikh
 
AngularJS Vs ReactJS_ What’s The Difference_.pdf
Onviqa Pvt. Ltd.
 
Angular vs.pdf
SophiaJasper
 
React vs. angular a comprehensive guideline for choosing right front-end fr...
Katy Slemon
 
React.js vs angular.js a comparison
Narola Infotech
 
Comparison of-angular-8 vs react-js
easyjobworld
 
FinalReport
Sonali Patil
 
Angular vs React: Making an Informed Decision for Your Web Development
FredReynolds2
 
Angular VS React Js: Which is Better for Web Development?
Semiosis Software Private Limited
 
Angular vs React 2019 [UPDATED] - tecHindustan
tecHIndustan Solutions
 
Angular VS React The Battle of Best Front End Frameworks.pdf
JS Panther
 
Which technology has a better future_ AngularJS or ReactJS_.pdf
Moon Technolabs Pvt. Ltd.
 
Angular vs react
Infinijith Technologies
 
React VS Angular- Which is Best for You in 2023?
CMARIX TechnoLabs
 
Advantages of React over Angular
Anju21552
 
React vs angular which front end framework should you choose and why
Katy Slemon
 
AngularJS vs ReactJS: Which One is Best for Next Front-end Development
Andolasoft Inc
 
React vs Angular, who wins the competition?
Brocoders - Software Development Company
 
Angular VS React: Which is Better for Web Development?
Semiosis Software Private Limited
 
React js vs angularjs which framework to choose in 2022_
Moon Technolabs Pvt. Ltd.
 
Ad

Recently uploaded (20)

PPTX
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
PPTX
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PPTX
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PDF
Add Background Images to Charts in IBM SPSS Statistics Version 31.pdf
Version 1 Analytics
 
PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PDF
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
PPTX
Function & Procedure: Function Vs Procedure in PL/SQL
Shani Tiwari
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PDF
ERP Consulting Services and Solutions by Contetra Pvt Ltd
jayjani123
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PDF
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PPTX
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
PPTX
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
Add Background Images to Charts in IBM SPSS Statistics Version 31.pdf
Version 1 Analytics
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
Function & Procedure: Function Vs Procedure in PL/SQL
Shani Tiwari
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
ERP Consulting Services and Solutions by Contetra Pvt Ltd
jayjani123
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
Ad

AngularJS + React

  • 1. Igor Kosulin, 2015 AngularJS + React Speedup research and comparison
  • 2. What AngularJS is ● MVC client-side framework ● A bridge to future (Web Components, etc) ● Very opinionated framework ● A pretty good working concept how it can be ● Nice for web apps of small and middle size ● Declarative style ● Force to create separate modules
  • 3. What React is ● Virtual DOM framework ● Use reactive concepts for DOM rendering ● Pretty straightforward ● JSX ● Everything is in jsx ● Force to create separate modules ● Thinking in React
  • 4. Why do we need this ● Tired of Angular, want to move forward ● Want to try React ● Replace V in Angular MVC ● Performance issues ● Cause it’s fun to combine uncombinable ● As a proof of concept
  • 5. Javascript evolution ● Simple effects on HTML-page ● Simple libraries ● DOM manipulation frameworks ● MVC frameworks, Virtual DOM frameworks ● Full-stack frameworks?
  • 7. What Angular haters say ● Slow two-way data binding ● Dependency Injection minification issue ● Too much: Provider, Service, Factory…. ● Directives are too complex ● Hard to find developers who can use it ● Angular 2.0 is almost coming ● Poor docs, logic in views, debugging...
  • 8. Angular 1.3 features ● Performance optimization (3-4x faster) ● Easier forms ● ARIA support ● Material design
  • 9. Angular 2.0 ● Total rewrite, but core concepts preserved ● Unified component model ● Modular, mobile-first ● Revised concept of “scope” ● Web Components, ES6, TypeScript 1.5 ● Team will support 1.3 branch for 1.5-2 years after 2.0 final release ● Team will write a converter for old code
  • 11. Angular + React = ngReact ● Angular module ● Can use React Components as directives
  • 13. Javascript code ● Direct DOM manipulation ● Fastest possible version
  • 14. jQuery code ● jQuery.append() ● Overhead of very small
  • 15. ● React code (React Component)
  • 20. ● React code (PersonRow)
  • 21. ● React code (PersonTable)
  • 22. ● React code (ModifiablePersonTable)
  • 23. ● React code (ModifiablePersonTable) That’s finally it… :)
  • 25. ● Angular code (reusable FocusOn directive)
  • 28. Comparison Pros ● Angular code is shorter (23 js + 6 html vs 105 js) ● Angular is more responsive Cons ● Angular is slower to render ● Angular is fatter (memory consumption)
  • 29. When use ngReact ● For existing Angular apps only ● For very big lists (but prefer paging) ● For complex logic (but prefer optimizations) ● For easy slow migration
  • 30. When use Angular ● For web apps small and middle size ● For fast prototyping ● For not very fat apps ● For newbies: a way to learn JS, they will definitely meet all the issues ● For professionals: to write tiny solid code ● “Write less, do more” ⓒ jQuery
  • 31. When use React ● Actually no limits, especially if you want to write many lines of code
  • 32. Thanks for your attention! Any questions?