SlideShare a Scribd company logo
ANGULARVS REACT - MOBILE
Michael Haberman
Freelancer
AGENDA
AngularVS React
Hybrid solution (Ionic)
Native solution (react-native)
Compare
ANGULAR
All around framework
MVC based
Routing
MVCs sync by services / events / root scope
Two way binding via dirty checking
A lot of re-rendering
ANGULAR DIAGRAM
Controller
View
Model
Controller
View
Model
Service
Timer
REACT
Library and not a framework
HandleView only (virtual DOM)
Component based
Unidirectional data flow (NOT one way binding)
Flux
No official router
REACT COMPONENTS
var toggleButton = React.createClass({
getInitialState: function() {
return {toggled: false};
},
handleClick: function(event) {
this.setState({toggled: !this.state.toggled});
},
render: function() {
return (
<p onClick={this.handleClick}>
{this.state.toggled} .
</p>
);
}});
ReactDOM.render(
<toggleButton />,
document.getElementById('example')
);
REACT COMPONENTS
var container = React.createClass({
render: function() {
return (
{this.props.containerData}
<child childData ={this.props.childData}/>
);
}
});
var child = React.createClass({
render: function() {
return (
{this.props.childData}
);
}
});
ReactDOM.render(
<container containerData=“c” childData=“d" />,
document.getElementById('example')
);
REACT
setState cause re-render
Virtual DOM: better performance
REACT - FLUX
Actions Dispatcher Stores Component
Component
ComponentBackend
AGENDA
AngularVS React
Hybrid solution (Ionic)
Native solution (react-native)
Compare
GOINGTO MOBILE
Mobile Device
Browser
Your App
Responsive
Mobile Device
Hybrid
Native App
Native WebView
Your App
GOINGTO MOBILE
Hybrid:
Download from store / play
Allow access to native APIs
Store approval
GOINGTO MOBILE
Access to native APIs
Performance
Native look and feel (cross platform)
Touch
Offline
App Store / Google Play
Navigation is harder
Multi devices
IONIC
Framework based on angular
Native plugins
Native look and feel
Allow platform-specific specifications
IONIC
Demo
IONIC - WHY
Rich UI
Easy to learn
Shared code with website
Remote deploy
No special learning
Easy development tools
IONIC - WHY NOT
Limited native API access
Performance limits
Lock-in with Ionic and Angular
AGENDA
AngularVS React
Hybrid solution (Ionic)
Native solution (react-native)
Compare
REACT NATIVE
Javascript framework
Compiles into native app
Uses React as view layer
Special components (translated into native)
Component per platform
“Learn once - write anywhere”
REACT NATIVE
Demo
REACT WHY
Native!
No performance limit
Javascript - libraries
REACT WHY NOT
Less shared code with web (and must be in react as well)
Learning curve
Duplicate coding
Not HTML / CSS
AGENDA
AngularVS React
Hybrid solution (Ionic)
Native solution (react-native)
Compare
COMPARE
IONIC REACT NATIVE
WEB REUSE Most of the code Some of the code
LEARNING Small curve Large curve
PLATFORM
SPECIFIC
Minimal (if any) Most of the code
PERFORMANCE Limited As native
NATIVE API Limited Unlimited
PERVIOUS
KOWNLEDGE
AGENDA
AngularVS React
Hybrid solution (Ionic)
Native solution (react-native)
Compare
QUESTIONS
THANKYOU
michael@haberman.io
@hab_mic

More Related Content

PPTX
React vs Angular: ups & downs (speaker Oleksandr Kovalov, Binary Studio)
PDF
Angular js vs. Facebook react
PDF
The Art of AngularJS - DeRailed 2014
PPTX
Up and Running with ReactJS
PDF
Redux Universal
PPTX
A Brief Introduction to React.js
PDF
React.js+Redux Workshops
PDF
AngularJS Deep Dives (NYC GDG Apr 2013)
React vs Angular: ups & downs (speaker Oleksandr Kovalov, Binary Studio)
Angular js vs. Facebook react
The Art of AngularJS - DeRailed 2014
Up and Running with ReactJS
Redux Universal
A Brief Introduction to React.js
React.js+Redux Workshops
AngularJS Deep Dives (NYC GDG Apr 2013)

What's hot (20)

PPTX
Getting started with Redux js
PPTX
Combining Angular and React Together
PDF
React JS - Introduction
PPT
Starting with Reactjs
PDF
Redux js
PDF
Introduction to ReactJS
PDF
Workshop React.js
PPTX
Introduction to react_js
PDF
JS Chicago Meetup 2/23/16 - Redux & Routes
PPTX
Angular js
PDF
Gettings started with the superheroic JavaScript library AngularJS
PDF
Introduction to ReactJS
PDF
Redux Saga - Under the hood
PPTX
Rethinking Best Practices
PPTX
Introduction to react js
PDF
Railsconf 2017 - React & React Native a common codebase across native and web
PPTX
Why angular js Framework
PPTX
AngularJS Beginners Workshop
PPTX
Introducing AngularJS
PPTX
AngularJS One Day Workshop
Getting started with Redux js
Combining Angular and React Together
React JS - Introduction
Starting with Reactjs
Redux js
Introduction to ReactJS
Workshop React.js
Introduction to react_js
JS Chicago Meetup 2/23/16 - Redux & Routes
Angular js
Gettings started with the superheroic JavaScript library AngularJS
Introduction to ReactJS
Redux Saga - Under the hood
Rethinking Best Practices
Introduction to react js
Railsconf 2017 - React & React Native a common codebase across native and web
Why angular js Framework
AngularJS Beginners Workshop
Introducing AngularJS
AngularJS One Day Workshop
Ad

Viewers also liked (9)

PDF
Crossing platforms with JavaScript & React
PDF
Ionic, react native, native script
PDF
React vs angular (mobile first battle)
PDF
Angular 2 vs React
PPTX
Angular vs Angular 2 vs React. Сергей Александров
PDF
ReactJS vs AngularJS - Head to Head comparison
PPTX
Vuejs Angularjs e Reactjs. Veja as diferenças de cada framework!
PDF
Angular 2 vs React. What to chose in 2017?
PPTX
React + Redux Introduction
Crossing platforms with JavaScript & React
Ionic, react native, native script
React vs angular (mobile first battle)
Angular 2 vs React
Angular vs Angular 2 vs React. Сергей Александров
ReactJS vs AngularJS - Head to Head comparison
Vuejs Angularjs e Reactjs. Veja as diferenças de cada framework!
Angular 2 vs React. What to chose in 2017?
React + Redux Introduction
Ad

Similar to React vs-angular-mobile (20)

PPTX
Introduction to React JS for beginners
PPTX
Controllers & actions
PPTX
PPTX
[Final] ReactJS presentation
PPTX
Introduction to React and MobX
PDF
React state managmenet with Redux
PDF
Recompacting your react application
PPT
ASP .net MVC
PDF
Reactивная тяга
PDF
Learning React: Facebook's Javascript Library For Building User Interfaces
PPTX
React & Redux for noobs
PDF
React 101
PDF
An introduction to React.js
PDF
React redux
PPTX
Intro react js
PDF
React & Redux
PDF
EWD 3 Training Course Part 39: Building a React.js application with QEWD, Part 3
PDF
Workshop 20: ReactJS Part II Flux Pattern & Redux
PDF
ASP.NET MVC Internals
PPTX
React - An Introduction
Introduction to React JS for beginners
Controllers & actions
[Final] ReactJS presentation
Introduction to React and MobX
React state managmenet with Redux
Recompacting your react application
ASP .net MVC
Reactивная тяга
Learning React: Facebook's Javascript Library For Building User Interfaces
React & Redux for noobs
React 101
An introduction to React.js
React redux
Intro react js
React & Redux
EWD 3 Training Course Part 39: Building a React.js application with QEWD, Part 3
Workshop 20: ReactJS Part II Flux Pattern & Redux
ASP.NET MVC Internals
React - An Introduction

More from Michael Haberman (14)

PPTX
Deploying microservices on AWS
PPTX
Angular universal
PPTX
React in production
PPTX
Multiplayer game with angular and firebase
PPTX
How to: node js & micro-services
PDF
Javascript issues and tools in production for developers
PPTX
AWS Serverless solution for developers
PPTX
Angular 4 - quick view
PPTX
MEAN.js Workshop
PPTX
AWS intro
PPTX
Angular Unit Test
PDF
Unit-testing and E2E testing in JS
PDF
XAML/C# to HTML/JS
PPTX
XAML/C# to HTML5/JS
Deploying microservices on AWS
Angular universal
React in production
Multiplayer game with angular and firebase
How to: node js & micro-services
Javascript issues and tools in production for developers
AWS Serverless solution for developers
Angular 4 - quick view
MEAN.js Workshop
AWS intro
Angular Unit Test
Unit-testing and E2E testing in JS
XAML/C# to HTML/JS
XAML/C# to HTML5/JS

Recently uploaded (20)

PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
Welding lecture in detail for understanding
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Sustainable Sites - Green Building Construction
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Lecture Notes Electrical Wiring System Components
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Construction Project Organization Group 2.pptx
PDF
PPT on Performance Review to get promotions
PDF
composite construction of structures.pdf
Embodied AI: Ushering in the Next Era of Intelligent Systems
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Foundation to blockchain - A guide to Blockchain Tech
Welding lecture in detail for understanding
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
Sustainable Sites - Green Building Construction
Mechanical Engineering MATERIALS Selection
Lecture Notes Electrical Wiring System Components
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Model Code of Practice - Construction Work - 21102022 .pdf
Automation-in-Manufacturing-Chapter-Introduction.pdf
Construction Project Organization Group 2.pptx
PPT on Performance Review to get promotions
composite construction of structures.pdf

React vs-angular-mobile