Creating books app with react native
About Me
Ali Hussein Al-Sa’o
Sr. front end developer @MBC group.
Total Experience of : 10 years in web development.
ali.alsao@gmail.com
fb/ali.sa3o
skype:ali.alsao
What this session covers
1. Originally , What is React.
2. What is React Native and the key charachtaristics
3. Installation guide and app initialization
4. Debugging with react native
5. Coding
6. Extras
Originally , What is React.
“A JAVASCRIPT LIBRARY FOR BUILDING USER INTERFACES”
1. Declarative/Functional : a state per component , UI update to this specific
component
2. Component-Based : encapsulated components managing their own state.
3. Cross Platform : react is isomorphic .
4. Written with JS.
5. Works amazingly with JSX and ES6/ES7
6. Virtual DOM
Functional VS Imperative
Defines States : Defines transitions
How Does This happen
Imperative / Transitions
Functional/Stateful
Functional is a clear winner
But react rewrites every time !
Virtual
DOM ...anyone
What is React Native
“React Native lets you build mobile apps using only JavaScript.”
- Cross Platform Apps (iOS, Android).
- React Native apps !=Hybrid apps.
- Doesn’t run inside Webview.
- Building block concept like swift / objective-C/ Java
- Better and faster than Cordova , phoneGap or Ionic
What problems it made to solve
. Live reload / hot reload- no constant rebuilding VS slow development cycle.
. Downloads update OTA without resubmission VS slow deployment cycle.
https://github.com/aerofs/react-native-auto-updater
http://www.electrode.io/docs/electrode_react_native_over_the_air_electron.html
https://apphub.io/
https://microsoft.github.io/code-push/
. Supports accessibility very easily : accessible={true}
Instagram access. vid : https://www.youtube.com/watch?v=P1e7ZCKQfMA
. Can use previously written native code and UI.
https://facebook.github.io/react-native/docs/integration-with-existing-apps.html
.Cheaper ; Shared skill set VS separate platform teams.
CHEAPER!!!
Among other hybrid frameworks
-Virtual Dom VS Poor Webview performance.
-Standard Native Views VS non Native Feel.
-Single step debugging /Browser based VS Hard to debug /Poor tooling
-Immutable views , Pure render functions , One way data flow VS Stateful ,Mutable UI
Requirements to get started.
- Node js installed to run the bundler .
- NPM is like RubyGems for Ruby, CocoaPods for iOS, Gradle/Maven for Java
- Xcode , Android studio (Android SDK,Android NDK with ADB-android debug bridge).
- Genymotion emulator if needed.
- Terminal if you have unix shell , use gitbash , cygwin +cmder on windows.
- Define ANDROID_HOME system variable in windows
Initilization
- brew install node
- brew install watchman
- npm install -g react-native-cli
- react-native init BookApp
- use web player to play around :
https://cdn.rawgit.com/dabbott/react-native-web-player/gh-v1.9.1/index.html
Debugging with react native.
- Use live reload + Hot reload
- Debug JS with browser
Coding
Extras :
- Who is using react Native :
https://facebook.github.io/react-native/showcase.html
- Kikstarters and generators:
. Ignite : https://infinite.red/ignite
. Native Base http://nativebase.io/
. UI Explorer : https://github.com/facebook/react-native/tree/master/Examples/UIExplorer
. Pepperoni : http://getpepperoni.com/
- Nice to check :
.React Native Package Manager : https://github.com/rnpm/rnpm
.Decko IDE on MAC only : https://www.decosoftware.com/download
. FastLane releasing tool : https://fastlane.tools/
. Easy grid: https://github.com/GeekyAnts/react-native-easy-grid
- Cheat Sheets :
.React Native Styling Cheat Sheet : https://github.com/vhpoet/react-native-styling-cheat-sheet
.React Native Cheat Sheet : https://github.com/refinery29/react-native-cheat-sheet
.React Native all you can sheet :http://rationalappdev.com/react-native-cheat-sheet/
.FlexBox cheat sheet : https://github.com/vhpoet/react-native-styling-cheat-sheet
- Style Guidelines:
.Proposed React Native style guid : https://github.com/team-oath/uncovery/wiki/React-Native-Style-Guide
.AirBnB React/JSX style guide : https://github.com/airbnb/javascript/tree/master/react
React Native
Learn Once , Write everywhere
Thank You

More Related Content

PPT
Présentation SOA
PPTX
Diagrams
PPTX
Middleware Technologies ppt
PDF
UML Diagrammes Statiques
PPTX
Control Flow Testing
PPS
Asp Architecture
DOC
Learning Management System-SRS Modified(Semi-Final)
PPTX
Virtual machines and their architecture
Présentation SOA
Diagrams
Middleware Technologies ppt
UML Diagrammes Statiques
Control Flow Testing
Asp Architecture
Learning Management System-SRS Modified(Semi-Final)
Virtual machines and their architecture

What's hot (20)

PPTX
Les web services
PPTX
The Middleware technology that connects the enterprise
PPTX
Entity relationship modelling - DE L300
PDF
Sequence diagram- UML diagram
PPTX
Soa & services web
PDF
Architecture réparties et les services web
PPT
Uml in software engineering
PPTX
Les limites-de-l uml (1)
PPTX
Chp2 - Vers les Architectures Orientées Services
PDF
Bases de données réparties par la pratique
KEY
Uml & cas d'utilisation
PDF
API : l'architecture REST
PPTX
e-Learning Management System : a Critical Study
DOCX
Servlet
PPTX
Component object model and
PDF
TD3-UML-Séquences
KEY
Diagramme d'activité en UML
PPTX
Architectural structures and views
PDF
Domain Modeling
Les web services
The Middleware technology that connects the enterprise
Entity relationship modelling - DE L300
Sequence diagram- UML diagram
Soa & services web
Architecture réparties et les services web
Uml in software engineering
Les limites-de-l uml (1)
Chp2 - Vers les Architectures Orientées Services
Bases de données réparties par la pratique
Uml & cas d'utilisation
API : l'architecture REST
e-Learning Management System : a Critical Study
Servlet
Component object model and
TD3-UML-Séquences
Diagramme d'activité en UML
Architectural structures and views
Domain Modeling
Ad

Viewers also liked (20)

PDF
React Native Introduction: Making Real iOS and Android Mobile App By JavaScript
PDF
A tour of React Native
PDF
Putting the Native in React Native - React Native Boston
PDF
React native sharing
PDF
Introduzione a React Native - Alessandro Giannini
PDF
React Native: Developing an app similar to Uber in JavaScript
PPTX
SONY BBS - React Native
PDF
Intro to react native
PDF
React Nativeはクロスプラットフォームモバイルアプリ開発の夢を見るか #DroidKaigi
PDF
What's This React Native Thing I Keep Hearing About?
PDF
Когнитивные искажения и принятие решений
PPTX
Charla industria de Video Juegos Argentina- Pablo Palma
PDF
Introduction to React Native
PDF
Getting Started with React Native (and should I use it at all?)
PDF
React Native - Workshop
PDF
When to (use / not use) React Native.
PDF
React Native Internals
PDF
Introduction to React Native
PPTX
The Age of Conversational Agents
PPTX
001. Introduction about React
React Native Introduction: Making Real iOS and Android Mobile App By JavaScript
A tour of React Native
Putting the Native in React Native - React Native Boston
React native sharing
Introduzione a React Native - Alessandro Giannini
React Native: Developing an app similar to Uber in JavaScript
SONY BBS - React Native
Intro to react native
React Nativeはクロスプラットフォームモバイルアプリ開発の夢を見るか #DroidKaigi
What's This React Native Thing I Keep Hearing About?
Когнитивные искажения и принятие решений
Charla industria de Video Juegos Argentina- Pablo Palma
Introduction to React Native
Getting Started with React Native (and should I use it at all?)
React Native - Workshop
When to (use / not use) React Native.
React Native Internals
Introduction to React Native
The Age of Conversational Agents
001. Introduction about React
Ad

Similar to Creating books app with react native (20)

PDF
Introduzione a React Native - Facebook Developer Circle Rome
PDF
Matteo Manchi - React Native for multi-platform mobile applications - Codemot...
PDF
React native: building native iOS apps with javascript
PPTX
React Native - Unleash the power of React in your device - Eduard Tomàs - Cod...
PPTX
JS Fest 2018. Илья Иванов. Введение в React-Native
PPTX
React Native: Introduction
PPTX
React Native
PDF
The Gist of React Native
PDF
l1-reactnativeintroduction-160816150540.pdf
PPTX
React native introduction (Mobile Warsaw)
PDF
PDF
React Native for multi-platform mobile applications
PPTX
Introduction to React Native
PDF
Introduction to react native
PPTX
Introduction to react native @ TIC NUST
PPTX
React native - Unleash the power of your device
PDF
"React Native" by Vanessa Leo e Roberto Brogi
PPTX
Introduction to React Native
PPTX
React Native Intro
PPTX
React native tour
Introduzione a React Native - Facebook Developer Circle Rome
Matteo Manchi - React Native for multi-platform mobile applications - Codemot...
React native: building native iOS apps with javascript
React Native - Unleash the power of React in your device - Eduard Tomàs - Cod...
JS Fest 2018. Илья Иванов. Введение в React-Native
React Native: Introduction
React Native
The Gist of React Native
l1-reactnativeintroduction-160816150540.pdf
React native introduction (Mobile Warsaw)
React Native for multi-platform mobile applications
Introduction to React Native
Introduction to react native
Introduction to react native @ TIC NUST
React native - Unleash the power of your device
"React Native" by Vanessa Leo e Roberto Brogi
Introduction to React Native
React Native Intro
React native tour

Creating books app with react native

  • 2. About Me Ali Hussein Al-Sa’o Sr. front end developer @MBC group. Total Experience of : 10 years in web development. [email protected] fb/ali.sa3o skype:ali.alsao
  • 3. What this session covers 1. Originally , What is React. 2. What is React Native and the key charachtaristics 3. Installation guide and app initialization 4. Debugging with react native 5. Coding 6. Extras
  • 4. Originally , What is React. “A JAVASCRIPT LIBRARY FOR BUILDING USER INTERFACES” 1. Declarative/Functional : a state per component , UI update to this specific component 2. Component-Based : encapsulated components managing their own state. 3. Cross Platform : react is isomorphic . 4. Written with JS. 5. Works amazingly with JSX and ES6/ES7 6. Virtual DOM
  • 5. Functional VS Imperative Defines States : Defines transitions
  • 6. How Does This happen
  • 9. Functional is a clear winner But react rewrites every time ! Virtual DOM ...anyone
  • 10. What is React Native “React Native lets you build mobile apps using only JavaScript.” - Cross Platform Apps (iOS, Android). - React Native apps !=Hybrid apps. - Doesn’t run inside Webview. - Building block concept like swift / objective-C/ Java - Better and faster than Cordova , phoneGap or Ionic
  • 11. What problems it made to solve . Live reload / hot reload- no constant rebuilding VS slow development cycle. . Downloads update OTA without resubmission VS slow deployment cycle. https://github.com/aerofs/react-native-auto-updater http://www.electrode.io/docs/electrode_react_native_over_the_air_electron.html https://apphub.io/ https://microsoft.github.io/code-push/ . Supports accessibility very easily : accessible={true} Instagram access. vid : https://www.youtube.com/watch?v=P1e7ZCKQfMA . Can use previously written native code and UI. https://facebook.github.io/react-native/docs/integration-with-existing-apps.html .Cheaper ; Shared skill set VS separate platform teams.
  • 13. Among other hybrid frameworks -Virtual Dom VS Poor Webview performance. -Standard Native Views VS non Native Feel. -Single step debugging /Browser based VS Hard to debug /Poor tooling -Immutable views , Pure render functions , One way data flow VS Stateful ,Mutable UI
  • 14. Requirements to get started. - Node js installed to run the bundler . - NPM is like RubyGems for Ruby, CocoaPods for iOS, Gradle/Maven for Java - Xcode , Android studio (Android SDK,Android NDK with ADB-android debug bridge). - Genymotion emulator if needed. - Terminal if you have unix shell , use gitbash , cygwin +cmder on windows. - Define ANDROID_HOME system variable in windows
  • 15. Initilization - brew install node - brew install watchman - npm install -g react-native-cli - react-native init BookApp - use web player to play around : https://cdn.rawgit.com/dabbott/react-native-web-player/gh-v1.9.1/index.html
  • 16. Debugging with react native. - Use live reload + Hot reload - Debug JS with browser
  • 18. Extras : - Who is using react Native : https://facebook.github.io/react-native/showcase.html - Kikstarters and generators: . Ignite : https://infinite.red/ignite . Native Base http://nativebase.io/ . UI Explorer : https://github.com/facebook/react-native/tree/master/Examples/UIExplorer . Pepperoni : http://getpepperoni.com/ - Nice to check : .React Native Package Manager : https://github.com/rnpm/rnpm .Decko IDE on MAC only : https://www.decosoftware.com/download . FastLane releasing tool : https://fastlane.tools/ . Easy grid: https://github.com/GeekyAnts/react-native-easy-grid - Cheat Sheets : .React Native Styling Cheat Sheet : https://github.com/vhpoet/react-native-styling-cheat-sheet .React Native Cheat Sheet : https://github.com/refinery29/react-native-cheat-sheet .React Native all you can sheet :http://rationalappdev.com/react-native-cheat-sheet/ .FlexBox cheat sheet : https://github.com/vhpoet/react-native-styling-cheat-sheet - Style Guidelines: .Proposed React Native style guid : https://github.com/team-oath/uncovery/wiki/React-Native-Style-Guide .AirBnB React/JSX style guide : https://github.com/airbnb/javascript/tree/master/react
  • 19. React Native Learn Once , Write everywhere Thank You