SlideShare a Scribd company logo
1 of 21
Copyright © 2015, Scale Focus AD, www.scalefocus.com
React Native
for Android
November 2015
Penka Simonova
2 www.scalefocus.com
1. Mobile developmant
› Android OS and others
› HTML5 vs Native apps
2. Comparison of technologies
3. React Native - key concepts
› Virtual DOM
› Components
› Lifecycle
4. Pros and Cons
Content
3 www.scalefocus.com
Android OS and others
4 www.scalefocus.com
Android OS and others
5 www.scalefocus.com
HTML5 vs Native
6 www.scalefocus.com
HTML5 vs Native
7 www.scalefocus.com
Comparison of technologies
8 www.scalefocus.com
Comparison of technologies
9 www.scalefocus.com
Comparison of technologies
10 www.scalefocus.com
Comparison of technologies
11 www.scalefocus.com
React Native - key concepts
12 www.scalefocus.com
React Native - key concepts
13 www.scalefocus.com
Virtual DOM
14 www.scalefocus.com
Declarative vs Imperative
15 www.scalefocus.com
Getting started
› brew install node/watchman*
› Available via GitHub: git clone “repo”
› npm install –g react-native-cli -> react-native init
FirstProject ( and run)
› var React = require(‘react-native’);
› var styles = React.StyleSheet.create({ text: { color:
'black'} });
› var class = React.createClass({ getInitialState() and
Render() });
› module.exports = class;
React Native - key concepts
16 www.scalefocus.com
Components
17 www.scalefocus.com
Lifecycle
18 www.scalefocus.com
public class MyCustomModule extends ReactContextBaseJavaModules {
@ReactMethod
public void processString(String input, Callback calback) {
callback.invoke(input.replace(“Bye”, “Hi”));
}
}
• Available as NativeModules. MyCustomModule.
processString(this.state.text, (text) => { this.setState({text}); });
Custom module with native language (Java)
19 www.scalefocus.com
• Pros
› Very fast development time and performance
› Live reload
› Independent from data models, design patterns
› Async execution
• Cons
Pros and Cons
20 www.scalefocus.com
Q & A
21 www.scalefocus.com
Thank you

More Related Content

What's hot

Stop Configuring Varnish and Start Coding (NAMER)
Stop Configuring Varnish and Start Coding (NAMER)Stop Configuring Varnish and Start Coding (NAMER)
Stop Configuring Varnish and Start Coding (NAMER)Cloudflare
 
Blame DevOps: Shifting Left the Wrong Way
Blame DevOps: Shifting Left the Wrong WayBlame DevOps: Shifting Left the Wrong Way
Blame DevOps: Shifting Left the Wrong WayVMware Tanzu
 
DevOps presentation at gemeente Rotterdam
DevOps presentation at gemeente RotterdamDevOps presentation at gemeente Rotterdam
DevOps presentation at gemeente RotterdamMiel Donkers
 
Mastering Deployments with Kubernetes & OpenShift: from Basic to Zero Downtim...
Mastering Deployments with Kubernetes & OpenShift: from Basic to Zero Downtim...Mastering Deployments with Kubernetes & OpenShift: from Basic to Zero Downtim...
Mastering Deployments with Kubernetes & OpenShift: from Basic to Zero Downtim...J On The Beach
 
It's all about feedback - code review as a great tool in the agile toolbox
It's all about feedback - code review as a great tool in the agile toolboxIt's all about feedback - code review as a great tool in the agile toolbox
It's all about feedback - code review as a great tool in the agile toolboxStefan Lay
 
An agile introduction to DevOps
An agile introduction to DevOpsAn agile introduction to DevOps
An agile introduction to DevOpsGil Zilberfeld
 
Developing Inside the Cloud
Developing Inside the CloudDeveloping Inside the Cloud
Developing Inside the CloudMichael Rees
 
Selenium 4 ukraine keynote slides
Selenium 4 ukraine keynote   slidesSelenium 4 ukraine keynote   slides
Selenium 4 ukraine keynote slidesMarcus Merrell
 
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...Sonatype
 
Continuous Delivery: Fly the Friendly CI in Pivotal Cloud Foundry with Concourse
Continuous Delivery: Fly the Friendly CI in Pivotal Cloud Foundry with ConcourseContinuous Delivery: Fly the Friendly CI in Pivotal Cloud Foundry with Concourse
Continuous Delivery: Fly the Friendly CI in Pivotal Cloud Foundry with ConcourseVMware Tanzu
 
DOES SFO 2016 - Sam Guckenheimer & Ed Blankenship "Moving to One Engineering ...
DOES SFO 2016 - Sam Guckenheimer & Ed Blankenship "Moving to One Engineering ...DOES SFO 2016 - Sam Guckenheimer & Ed Blankenship "Moving to One Engineering ...
DOES SFO 2016 - Sam Guckenheimer & Ed Blankenship "Moving to One Engineering ...Gene Kim
 
Egit democamp-darmstadt-2011-06-21
Egit democamp-darmstadt-2011-06-21Egit democamp-darmstadt-2011-06-21
Egit democamp-darmstadt-2011-06-21Stefan Lay
 
DevOps - Understanding Core Concepts (Old)
DevOps - Understanding Core Concepts (Old)DevOps - Understanding Core Concepts (Old)
DevOps - Understanding Core Concepts (Old)Nitin Bhide
 
Egit democamp-karlsruhe-2011-11-29
Egit democamp-karlsruhe-2011-11-29Egit democamp-karlsruhe-2011-11-29
Egit democamp-karlsruhe-2011-11-29Stefan Lay
 
Deploying Fearlessly in a Continuous World
Deploying Fearlessly in a Continuous WorldDeploying Fearlessly in a Continuous World
Deploying Fearlessly in a Continuous WorldOptimizely
 
Developer Week SF, 2015: Cross-Browser Incompatibility is Growing not Shrinking
Developer Week SF, 2015: Cross-Browser Incompatibility is Growing not ShrinkingDeveloper Week SF, 2015: Cross-Browser Incompatibility is Growing not Shrinking
Developer Week SF, 2015: Cross-Browser Incompatibility is Growing not ShrinkingJonah Stiennon
 
Marko Berković
Marko BerkovićMarko Berković
Marko BerkovićCodeFest
 
Developing Apps With React Native
Developing Apps With React NativeDeveloping Apps With React Native
Developing Apps With React NativeAlvaro Viebrantz
 

What's hot (20)

Stop Configuring Varnish and Start Coding (NAMER)
Stop Configuring Varnish and Start Coding (NAMER)Stop Configuring Varnish and Start Coding (NAMER)
Stop Configuring Varnish and Start Coding (NAMER)
 
Blame DevOps: Shifting Left the Wrong Way
Blame DevOps: Shifting Left the Wrong WayBlame DevOps: Shifting Left the Wrong Way
Blame DevOps: Shifting Left the Wrong Way
 
DevOps presentation at gemeente Rotterdam
DevOps presentation at gemeente RotterdamDevOps presentation at gemeente Rotterdam
DevOps presentation at gemeente Rotterdam
 
Mastering Deployments with Kubernetes & OpenShift: from Basic to Zero Downtim...
Mastering Deployments with Kubernetes & OpenShift: from Basic to Zero Downtim...Mastering Deployments with Kubernetes & OpenShift: from Basic to Zero Downtim...
Mastering Deployments with Kubernetes & OpenShift: from Basic to Zero Downtim...
 
It's all about feedback - code review as a great tool in the agile toolbox
It's all about feedback - code review as a great tool in the agile toolboxIt's all about feedback - code review as a great tool in the agile toolbox
It's all about feedback - code review as a great tool in the agile toolbox
 
An agile introduction to DevOps
An agile introduction to DevOpsAn agile introduction to DevOps
An agile introduction to DevOps
 
Developing Inside the Cloud
Developing Inside the CloudDeveloping Inside the Cloud
Developing Inside the Cloud
 
Selenium 4 ukraine keynote slides
Selenium 4 ukraine keynote   slidesSelenium 4 ukraine keynote   slides
Selenium 4 ukraine keynote slides
 
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
DevOps and Continuous Delivery Reference Architectures (including Nexus and o...
 
Continuous Delivery: Fly the Friendly CI in Pivotal Cloud Foundry with Concourse
Continuous Delivery: Fly the Friendly CI in Pivotal Cloud Foundry with ConcourseContinuous Delivery: Fly the Friendly CI in Pivotal Cloud Foundry with Concourse
Continuous Delivery: Fly the Friendly CI in Pivotal Cloud Foundry with Concourse
 
DOES SFO 2016 - Sam Guckenheimer & Ed Blankenship "Moving to One Engineering ...
DOES SFO 2016 - Sam Guckenheimer & Ed Blankenship "Moving to One Engineering ...DOES SFO 2016 - Sam Guckenheimer & Ed Blankenship "Moving to One Engineering ...
DOES SFO 2016 - Sam Guckenheimer & Ed Blankenship "Moving to One Engineering ...
 
Egit democamp-darmstadt-2011-06-21
Egit democamp-darmstadt-2011-06-21Egit democamp-darmstadt-2011-06-21
Egit democamp-darmstadt-2011-06-21
 
DevOps - Understanding Core Concepts (Old)
DevOps - Understanding Core Concepts (Old)DevOps - Understanding Core Concepts (Old)
DevOps - Understanding Core Concepts (Old)
 
Scrum Pulse
Scrum PulseScrum Pulse
Scrum Pulse
 
Egit democamp-karlsruhe-2011-11-29
Egit democamp-karlsruhe-2011-11-29Egit democamp-karlsruhe-2011-11-29
Egit democamp-karlsruhe-2011-11-29
 
Deploying Fearlessly in a Continuous World
Deploying Fearlessly in a Continuous WorldDeploying Fearlessly in a Continuous World
Deploying Fearlessly in a Continuous World
 
Developer Week SF, 2015: Cross-Browser Incompatibility is Growing not Shrinking
Developer Week SF, 2015: Cross-Browser Incompatibility is Growing not ShrinkingDeveloper Week SF, 2015: Cross-Browser Incompatibility is Growing not Shrinking
Developer Week SF, 2015: Cross-Browser Incompatibility is Growing not Shrinking
 
Marko Berković
Marko BerkovićMarko Berković
Marko Berković
 
Developing Apps With React Native
Developing Apps With React NativeDeveloping Apps With React Native
Developing Apps With React Native
 
Velocity In A Few Slides
Velocity In A Few SlidesVelocity In A Few Slides
Velocity In A Few Slides
 

Similar to React Native for Android - Build Mobile Apps Using React

Introduction to React Native & Rendering Charts / Graphs
Introduction to React Native & Rendering Charts / GraphsIntroduction to React Native & Rendering Charts / Graphs
Introduction to React Native & Rendering Charts / GraphsRahat Khanna a.k.a mAppMechanic
 
Front-End Test Fest Keynote: The State of the Union for Front End Testing.pdf
Front-End Test Fest Keynote: The State of the Union for Front End Testing.pdfFront-End Test Fest Keynote: The State of the Union for Front End Testing.pdf
Front-End Test Fest Keynote: The State of the Union for Front End Testing.pdfApplitools
 
Tech Talk: Getting to Know Node.js
Tech Talk: Getting to Know Node.jsTech Talk: Getting to Know Node.js
Tech Talk: Getting to Know Node.jsCA Technologies
 
React Native - Build Native Mobile App
React Native - Build Native Mobile AppReact Native - Build Native Mobile App
React Native - Build Native Mobile AppMobio Solutions
 
React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why MoonTechnolabsPvtLtd
 
React Native Vs. Flutter: Which Platform to Choose for Cross-Platform App Dev...
React Native Vs. Flutter: Which Platform to Choose for Cross-Platform App Dev...React Native Vs. Flutter: Which Platform to Choose for Cross-Platform App Dev...
React Native Vs. Flutter: Which Platform to Choose for Cross-Platform App Dev...DashTechnologiesInc
 
React Native - Framework For Mobile App (Seminar)
React Native - Framework For Mobile App (Seminar)React Native - Framework For Mobile App (Seminar)
React Native - Framework For Mobile App (Seminar)Jaise P Jose
 
When to choose and avoid react native for mobile app development
When to choose and avoid react native for mobile app developmentWhen to choose and avoid react native for mobile app development
When to choose and avoid react native for mobile app developmentFullestop
 
Jeremy Glassenberg: Using Titanium to Connect to Enterprise SaaS
Jeremy Glassenberg: Using Titanium to Connect to Enterprise SaaSJeremy Glassenberg: Using Titanium to Connect to Enterprise SaaS
Jeremy Glassenberg: Using Titanium to Connect to Enterprise SaaSAxway Appcelerator
 
IBM Bluemix Tech Meetup 18-02-2015
IBM Bluemix Tech Meetup 18-02-2015IBM Bluemix Tech Meetup 18-02-2015
IBM Bluemix Tech Meetup 18-02-2015gjuljo
 
Software Quality in the Devops World: The Impact of Continuous Delivery on Te...
Software Quality in the Devops World: The Impact of Continuous Delivery on Te...Software Quality in the Devops World: The Impact of Continuous Delivery on Te...
Software Quality in the Devops World: The Impact of Continuous Delivery on Te...cornelia davis
 
React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why Moon Technolabs Pvt. Ltd.
 
React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why Moon Technolabs Pvt. Ltd.
 
Advanced Strategies for Testing Responsive Web
Advanced Strategies for Testing Responsive WebAdvanced Strategies for Testing Responsive Web
Advanced Strategies for Testing Responsive WebPerfecto by Perforce
 
Native Android Development with Spring
Native Android Development with SpringNative Android Development with Spring
Native Android Development with SpringRoy Clarkson
 
Tools and Recipes to Replatform Monolithic Apps to Modern Cloud Environments
Tools and Recipes to Replatform Monolithic Apps to Modern Cloud EnvironmentsTools and Recipes to Replatform Monolithic Apps to Modern Cloud Environments
Tools and Recipes to Replatform Monolithic Apps to Modern Cloud EnvironmentsVMware Tanzu
 
Choose between flutter and react native
Choose between flutter and react nativeChoose between flutter and react native
Choose between flutter and react nativeSmith Daniel
 

Similar to React Native for Android - Build Mobile Apps Using React (20)

Introduction to React Native & Rendering Charts / Graphs
Introduction to React Native & Rendering Charts / GraphsIntroduction to React Native & Rendering Charts / Graphs
Introduction to React Native & Rendering Charts / Graphs
 
White Paper Flutter vs React Native
White Paper Flutter vs React NativeWhite Paper Flutter vs React Native
White Paper Flutter vs React Native
 
Front-End Test Fest Keynote: The State of the Union for Front End Testing.pdf
Front-End Test Fest Keynote: The State of the Union for Front End Testing.pdfFront-End Test Fest Keynote: The State of the Union for Front End Testing.pdf
Front-End Test Fest Keynote: The State of the Union for Front End Testing.pdf
 
Tech Talk: Getting to Know Node.js
Tech Talk: Getting to Know Node.jsTech Talk: Getting to Know Node.js
Tech Talk: Getting to Know Node.js
 
React Native - Build Native Mobile App
React Native - Build Native Mobile AppReact Native - Build Native Mobile App
React Native - Build Native Mobile App
 
React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why
 
CI/CD in the serverless era
CI/CD in the serverless eraCI/CD in the serverless era
CI/CD in the serverless era
 
React Native Vs. Flutter: Which Platform to Choose for Cross-Platform App Dev...
React Native Vs. Flutter: Which Platform to Choose for Cross-Platform App Dev...React Native Vs. Flutter: Which Platform to Choose for Cross-Platform App Dev...
React Native Vs. Flutter: Which Platform to Choose for Cross-Platform App Dev...
 
React Native - Framework For Mobile App (Seminar)
React Native - Framework For Mobile App (Seminar)React Native - Framework For Mobile App (Seminar)
React Native - Framework For Mobile App (Seminar)
 
When to choose and avoid react native for mobile app development
When to choose and avoid react native for mobile app developmentWhen to choose and avoid react native for mobile app development
When to choose and avoid react native for mobile app development
 
Jeremy Glassenberg: Using Titanium to Connect to Enterprise SaaS
Jeremy Glassenberg: Using Titanium to Connect to Enterprise SaaSJeremy Glassenberg: Using Titanium to Connect to Enterprise SaaS
Jeremy Glassenberg: Using Titanium to Connect to Enterprise SaaS
 
IBM Bluemix Tech Meetup 18-02-2015
IBM Bluemix Tech Meetup 18-02-2015IBM Bluemix Tech Meetup 18-02-2015
IBM Bluemix Tech Meetup 18-02-2015
 
HTML5
HTML5HTML5
HTML5
 
Software Quality in the Devops World: The Impact of Continuous Delivery on Te...
Software Quality in the Devops World: The Impact of Continuous Delivery on Te...Software Quality in the Devops World: The Impact of Continuous Delivery on Te...
Software Quality in the Devops World: The Impact of Continuous Delivery on Te...
 
React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why
 
React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why
 
Advanced Strategies for Testing Responsive Web
Advanced Strategies for Testing Responsive WebAdvanced Strategies for Testing Responsive Web
Advanced Strategies for Testing Responsive Web
 
Native Android Development with Spring
Native Android Development with SpringNative Android Development with Spring
Native Android Development with Spring
 
Tools and Recipes to Replatform Monolithic Apps to Modern Cloud Environments
Tools and Recipes to Replatform Monolithic Apps to Modern Cloud EnvironmentsTools and Recipes to Replatform Monolithic Apps to Modern Cloud Environments
Tools and Recipes to Replatform Monolithic Apps to Modern Cloud Environments
 
Choose between flutter and react native
Choose between flutter and react nativeChoose between flutter and react native
Choose between flutter and react native
 

React Native for Android - Build Mobile Apps Using React