SlideShare a Scribd company logo
A Hybrid App Development
Framework
Native Hybrid
Introduction
❏ Open source cross-platform framework.
❏ Developed by Facebook and first public preview was released in March
2015.
❏ Build mobile apps using React and JavaScript.
❏ Currently supports Android and iOS platform.
❏ Creates “Real App”.
How does it work?
In React Native, virtual DOM acts as a layer between the developer’s
description of how things look and work done to render the application.
React Native invokes Objective-C APIs and Java APIs to render native
components.
<Text>
Objective-C
API
Java API
UILabel
<TextView>
Converts
Converts
RN Component
Native Views
RCT Bridge
How to get started?
We can start building our Application either by Expo or React Native CLI.
❏ Expo is the easiest way to get started with react native as it doesn’t
require setting up Android Studio and Xcode.
❏ React Native CLI needs both SDKs to be installed for running react native
applications.
To create and run react native app using
CRNA use below commands
npm install -g create-react-
native-app
create-react-native-app ExampleApp
npm run android or npm run ios
Expo
❏ Build a project using Expo (CRNA)
❏ Install Expo app on phone and
connect it to the same network as
our computer.
❏ Has tons of inbuilt libraries.
❏ Doesn’t allow third party libraries
that requires native code linking.
❏ We can eject our Expo project to RN-
CLI project if required.
React Native CLI
❏ Creates app template with native
iOS and Android projects that can
be modified.
❏ Allow us to add third party libraries
with native code linking.
❏ Allow us to modify native code.
To create and run react native app using
CLI use below commands -
npm install -g react-native-cli
react-native init ExampleApp
react-native run-android/run-ios
Core Concepts
❏ Components
❏ Functional/Stateless Component
❏ Class/Stateful Component
❏ JSX
❏ Unidirectional Data Flow
❏ Virtual DOM
React native
STATE
Core features
❏ React Native is like React, but it uses native components instead of web
components as building blocks.
❏ React Native handles layout with Yoga, a cross-platform C library that
handles layout calculations via the flexbox API.
❏ React native supports State/Props to control component. Props are set by
parent and State is the data that is going to change.
❏ React Native Animated library, provides jank-free animations and even
interaction-driven animations such as scrolling parallax.
Lifecycle
Initialization
Mounting
Updation
Unmounting
Lifecycle
Inbuilt Tools
React Native has its own inbuilt tooling such as -
1. Reload
2. Debug JS Remotely
3. Show Perf Monitor
1. Enable Live Reload
2. Enable Hot Reloading
Live Reloading Hot Reloading
1... 2... 3...
4... 5...
6...
6...
7.. 8... 9...
Reloads the whole application Reloads the screen with updated changes
Why Use it?
● Cross Platform Usage
● Open Source - Possible to leverage the extremely vast array of javascript
projects such as redux, reselect, jest, etc.
● Increase in Developer Velocity
● Backed by Native Platforms ( iOS and Android )
● Based on React
● Iteration Speed - Hot reloading enables to test changes on Android and
iOS in just a second or two.
React native
Limitations
❏ React Native Immaturity - React Native is less mature than Android or
iOS. Some trivial things in Native can be complex to implement in react
native.
❏ Gestures - The touch subsystem for Android and iOS are different
enough that coming up with a unified API has been challenging for the
entire React Native community.
❏ Javascript Untyped nature - Lack of type safety is both difficult to scale
and can became a point of contention for mobile engineers used to typed
languages.
❏ Refactoring - A side-effect of JavaScript being untyped is that refactoring
was extremely difficult and error-prone.
React Native - who’s using it?
Note: Please find a complete list of apps built using react native on facebook showcase.
Questions?
Thank you
Sources & Helpful links
➢ React Native Documentation
➢ Expo Documentation
➢ Navigation
➢ Redux
➢ Vector icons
➢ React Native at Airbnb: The Technology
➢ Supporting React Native at Pinterest
Ad

More Related Content

What's hot (20)

React workshop presentation
React workshop presentationReact workshop presentation
React workshop presentation
Bojan Golubović
 
Introduction to react native
Introduction to react nativeIntroduction to react native
Introduction to react native
Dani Akash
 
ReactJs
ReactJsReactJs
ReactJs
Sahana Banerjee
 
React Native
React NativeReact Native
React Native
Fatih Şimşek
 
React js
React jsReact js
React js
Rajesh Kolla
 
React Native - Getting Started
React Native - Getting StartedReact Native - Getting Started
React Native - Getting Started
Tracy Lee
 
Intro to react native
Intro to react nativeIntro to react native
Intro to react native
ModusJesus
 
ReactJS
ReactJSReactJS
ReactJS
Hiten Pratap Singh
 
Its time to React.js
Its time to React.jsIts time to React.js
Its time to React.js
Ritesh Mehrotra
 
Introduction to React native
Introduction to React nativeIntroduction to React native
Introduction to React native
Dhaval Barot
 
Introduction to React Native
Introduction to React NativeIntroduction to React Native
Introduction to React Native
Sambhu Lakshmanan
 
Introduction to React
Introduction to ReactIntroduction to React
Introduction to React
Rob Quick
 
reactJS
reactJSreactJS
reactJS
Syam Santhosh
 
Reactjs
ReactjsReactjs
Reactjs
Mallikarjuna G D
 
Introduction to ReactJS
Introduction to ReactJSIntroduction to ReactJS
Introduction to ReactJS
Knoldus Inc.
 
How native is React Native? | React Native vs Native App Development
How native is React Native? | React Native vs Native App DevelopmentHow native is React Native? | React Native vs Native App Development
How native is React Native? | React Native vs Native App Development
Devathon
 
React JS - A quick introduction tutorial
React JS - A quick introduction tutorialReact JS - A quick introduction tutorial
React JS - A quick introduction tutorial
Mohammed Fazuluddin
 
NodeJS for Beginner
NodeJS for BeginnerNodeJS for Beginner
NodeJS for Beginner
Apaichon Punopas
 
Introduction to React JS for beginners | Namespace IT
Introduction to React JS for beginners | Namespace ITIntroduction to React JS for beginners | Namespace IT
Introduction to React JS for beginners | Namespace IT
namespaceit
 
Getting started with Next.js
Getting started with Next.jsGetting started with Next.js
Getting started with Next.js
Gökhan Sarı
 
React workshop presentation
React workshop presentationReact workshop presentation
React workshop presentation
Bojan Golubović
 
Introduction to react native
Introduction to react nativeIntroduction to react native
Introduction to react native
Dani Akash
 
React Native - Getting Started
React Native - Getting StartedReact Native - Getting Started
React Native - Getting Started
Tracy Lee
 
Intro to react native
Intro to react nativeIntro to react native
Intro to react native
ModusJesus
 
Introduction to React native
Introduction to React nativeIntroduction to React native
Introduction to React native
Dhaval Barot
 
Introduction to React Native
Introduction to React NativeIntroduction to React Native
Introduction to React Native
Sambhu Lakshmanan
 
Introduction to React
Introduction to ReactIntroduction to React
Introduction to React
Rob Quick
 
Introduction to ReactJS
Introduction to ReactJSIntroduction to ReactJS
Introduction to ReactJS
Knoldus Inc.
 
How native is React Native? | React Native vs Native App Development
How native is React Native? | React Native vs Native App DevelopmentHow native is React Native? | React Native vs Native App Development
How native is React Native? | React Native vs Native App Development
Devathon
 
React JS - A quick introduction tutorial
React JS - A quick introduction tutorialReact JS - A quick introduction tutorial
React JS - A quick introduction tutorial
Mohammed Fazuluddin
 
Introduction to React JS for beginners | Namespace IT
Introduction to React JS for beginners | Namespace ITIntroduction to React JS for beginners | Namespace IT
Introduction to React JS for beginners | Namespace IT
namespaceit
 
Getting started with Next.js
Getting started with Next.jsGetting started with Next.js
Getting started with Next.js
Gökhan Sarı
 

Similar to React native (20)

Lecture 1 Introduction to React Native.pptx
Lecture 1 Introduction to React Native.pptxLecture 1 Introduction to React Native.pptx
Lecture 1 Introduction to React Native.pptx
GevitaChinnaiah
 
React native
React nativeReact native
React native
NexThoughts Technologies
 
React Native - Build Native Mobile App
React Native - Build Native Mobile AppReact Native - Build Native Mobile App
React Native - Build Native Mobile App
Mobio Solutions
 
From React to React Native - Things I wish I knew when I started
From React to React Native - Things I wish I knew when I startedFrom React to React Native - Things I wish I knew when I started
From React to React Native - Things I wish I knew when I started
sparkfabrik
 
Getting Started With React Native Presntation
Getting Started With React Native PresntationGetting Started With React Native Presntation
Getting Started With React Native Presntation
Knoldus Inc.
 
Reactjs Vs React Native – Key Difference, Advantages, And Disadvantages
Reactjs Vs React Native – Key Difference, Advantages, And DisadvantagesReactjs Vs React Native – Key Difference, Advantages, And Disadvantages
Reactjs Vs React Native – Key Difference, Advantages, And Disadvantages
Andolasoft Inc
 
Intro to react native
Intro to react nativeIntro to react native
Intro to react native
Aniket Srivastava
 
Session 01_02-Introduction to React Native .pptx
Session 01_02-Introduction to React Native .pptxSession 01_02-Introduction to React Native .pptx
Session 01_02-Introduction to React Native .pptx
VHiu94
 
React vs React Native
React vs React NativeReact vs React Native
React vs React Native
Albiorix Technology
 
Developing, building, testing and deploying react native apps
Developing, building, testing and deploying react native appsDeveloping, building, testing and deploying react native apps
Developing, building, testing and deploying react native apps
Leena N
 
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
 
Introduction to react native @ TIC NUST
Introduction to react native @ TIC NUSTIntroduction to react native @ TIC NUST
Introduction to react native @ TIC NUST
Waqqas Jabbar
 
Why Businesses Should Hire React Native Developers to Build the Best Mobile A...
Why Businesses Should Hire React Native Developers to Build the Best Mobile A...Why Businesses Should Hire React Native Developers to Build the Best Mobile A...
Why Businesses Should Hire React Native Developers to Build the Best Mobile A...
Noman Shaikh
 
Web summit.pptx
Web summit.pptxWeb summit.pptx
Web summit.pptx
171SagnikRoy
 
React native
React nativeReact native
React native
Jacob Nelson
 
Introduction to React Native
Introduction to React NativeIntroduction to React Native
Introduction to React Native
Waqqas Jabbar
 
Building our App with React Native
Building our App with React NativeBuilding our App with React Native
Building our App with React Native
Nuxeo
 
Rits Brown Bag - React Native and Salesforce
Rits Brown Bag - React Native and SalesforceRits Brown Bag - React Native and Salesforce
Rits Brown Bag - React Native and Salesforce
Right IT Services
 
Hire react native developer
Hire react native developer Hire react native developer
Hire react native developer
Shivani
 
20180518 QNAP Seminar - Introduction to React Native
20180518 QNAP Seminar - Introduction to React Native20180518 QNAP Seminar - Introduction to React Native
20180518 QNAP Seminar - Introduction to React Native
Eric Deng
 
Lecture 1 Introduction to React Native.pptx
Lecture 1 Introduction to React Native.pptxLecture 1 Introduction to React Native.pptx
Lecture 1 Introduction to React Native.pptx
GevitaChinnaiah
 
React Native - Build Native Mobile App
React Native - Build Native Mobile AppReact Native - Build Native Mobile App
React Native - Build Native Mobile App
Mobio Solutions
 
From React to React Native - Things I wish I knew when I started
From React to React Native - Things I wish I knew when I startedFrom React to React Native - Things I wish I knew when I started
From React to React Native - Things I wish I knew when I started
sparkfabrik
 
Getting Started With React Native Presntation
Getting Started With React Native PresntationGetting Started With React Native Presntation
Getting Started With React Native Presntation
Knoldus Inc.
 
Reactjs Vs React Native – Key Difference, Advantages, And Disadvantages
Reactjs Vs React Native – Key Difference, Advantages, And DisadvantagesReactjs Vs React Native – Key Difference, Advantages, And Disadvantages
Reactjs Vs React Native – Key Difference, Advantages, And Disadvantages
Andolasoft Inc
 
Session 01_02-Introduction to React Native .pptx
Session 01_02-Introduction to React Native .pptxSession 01_02-Introduction to React Native .pptx
Session 01_02-Introduction to React Native .pptx
VHiu94
 
Developing, building, testing and deploying react native apps
Developing, building, testing and deploying react native appsDeveloping, building, testing and deploying react native apps
Developing, building, testing and deploying react native apps
Leena N
 
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
 
Introduction to react native @ TIC NUST
Introduction to react native @ TIC NUSTIntroduction to react native @ TIC NUST
Introduction to react native @ TIC NUST
Waqqas Jabbar
 
Why Businesses Should Hire React Native Developers to Build the Best Mobile A...
Why Businesses Should Hire React Native Developers to Build the Best Mobile A...Why Businesses Should Hire React Native Developers to Build the Best Mobile A...
Why Businesses Should Hire React Native Developers to Build the Best Mobile A...
Noman Shaikh
 
Introduction to React Native
Introduction to React NativeIntroduction to React Native
Introduction to React Native
Waqqas Jabbar
 
Building our App with React Native
Building our App with React NativeBuilding our App with React Native
Building our App with React Native
Nuxeo
 
Rits Brown Bag - React Native and Salesforce
Rits Brown Bag - React Native and SalesforceRits Brown Bag - React Native and Salesforce
Rits Brown Bag - React Native and Salesforce
Right IT Services
 
Hire react native developer
Hire react native developer Hire react native developer
Hire react native developer
Shivani
 
20180518 QNAP Seminar - Introduction to React Native
20180518 QNAP Seminar - Introduction to React Native20180518 QNAP Seminar - Introduction to React Native
20180518 QNAP Seminar - Introduction to React Native
Eric Deng
 
Ad

Recently uploaded (20)

Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
Ad

React native

  • 1. A Hybrid App Development Framework
  • 3. Introduction ❏ Open source cross-platform framework. ❏ Developed by Facebook and first public preview was released in March 2015. ❏ Build mobile apps using React and JavaScript. ❏ Currently supports Android and iOS platform. ❏ Creates “Real App”.
  • 4. How does it work? In React Native, virtual DOM acts as a layer between the developer’s description of how things look and work done to render the application. React Native invokes Objective-C APIs and Java APIs to render native components.
  • 6. How to get started? We can start building our Application either by Expo or React Native CLI. ❏ Expo is the easiest way to get started with react native as it doesn’t require setting up Android Studio and Xcode. ❏ React Native CLI needs both SDKs to be installed for running react native applications.
  • 7. To create and run react native app using CRNA use below commands npm install -g create-react- native-app create-react-native-app ExampleApp npm run android or npm run ios Expo ❏ Build a project using Expo (CRNA) ❏ Install Expo app on phone and connect it to the same network as our computer. ❏ Has tons of inbuilt libraries. ❏ Doesn’t allow third party libraries that requires native code linking. ❏ We can eject our Expo project to RN- CLI project if required.
  • 8. React Native CLI ❏ Creates app template with native iOS and Android projects that can be modified. ❏ Allow us to add third party libraries with native code linking. ❏ Allow us to modify native code. To create and run react native app using CLI use below commands - npm install -g react-native-cli react-native init ExampleApp react-native run-android/run-ios
  • 9. Core Concepts ❏ Components ❏ Functional/Stateless Component ❏ Class/Stateful Component ❏ JSX ❏ Unidirectional Data Flow ❏ Virtual DOM
  • 11. STATE
  • 12. Core features ❏ React Native is like React, but it uses native components instead of web components as building blocks. ❏ React Native handles layout with Yoga, a cross-platform C library that handles layout calculations via the flexbox API. ❏ React native supports State/Props to control component. Props are set by parent and State is the data that is going to change. ❏ React Native Animated library, provides jank-free animations and even interaction-driven animations such as scrolling parallax.
  • 15. Inbuilt Tools React Native has its own inbuilt tooling such as - 1. Reload 2. Debug JS Remotely 3. Show Perf Monitor 1. Enable Live Reload 2. Enable Hot Reloading
  • 16. Live Reloading Hot Reloading 1... 2... 3... 4... 5... 6... 6... 7.. 8... 9... Reloads the whole application Reloads the screen with updated changes
  • 17. Why Use it? ● Cross Platform Usage ● Open Source - Possible to leverage the extremely vast array of javascript projects such as redux, reselect, jest, etc. ● Increase in Developer Velocity ● Backed by Native Platforms ( iOS and Android ) ● Based on React ● Iteration Speed - Hot reloading enables to test changes on Android and iOS in just a second or two.
  • 19. Limitations ❏ React Native Immaturity - React Native is less mature than Android or iOS. Some trivial things in Native can be complex to implement in react native. ❏ Gestures - The touch subsystem for Android and iOS are different enough that coming up with a unified API has been challenging for the entire React Native community. ❏ Javascript Untyped nature - Lack of type safety is both difficult to scale and can became a point of contention for mobile engineers used to typed languages. ❏ Refactoring - A side-effect of JavaScript being untyped is that refactoring was extremely difficult and error-prone.
  • 20. React Native - who’s using it? Note: Please find a complete list of apps built using react native on facebook showcase.
  • 23. Sources & Helpful links ➢ React Native Documentation ➢ Expo Documentation ➢ Navigation ➢ Redux ➢ Vector icons ➢ React Native at Airbnb: The Technology ➢ Supporting React Native at Pinterest