Upgrade to Pro — share decks privately, control downloads, hide ads and more …

React native introduction

React native introduction

A simple rn introduction

Damien Lamoureux

July 25, 2016
Tweet

More Decks by Damien Lamoureux

Other Decks in Technology

Transcript

  1. 3 Facts • Mobile development is a complex business :

    - With multiple platforms (iOS, Android, Windows) - Many frameworks
  2. 4 Hybrid ? - Allow to write applications iOS and

    Android (no windows) apps with native UIs using a common codebase - Have to construct separate iOS and Android UIs (which is a good thing!)
  3. 6 Learn once, build everywhere - React Native is a

    platform - Build native UI’s with React components - Create application logic with javascript (just like web)
  4. 8 React Native - Bridges native and JS development (literally)

    - Expose native modules to JS - Cross platform - Brings some of the good parts of the web to mobile
  5. 9 Pros - Higher ceiling (Ex: native maps, camera, video)

    - Extensible runtime (Ex: custom layout) - Mobile first (Touch & gestures) - Continuous deployment
  6. 10 Development tools - Live Reload : Refresh browser and

    get IMMEDIATE Feedback - Even better, you can use Cmd+D to launch the Chrome Developer Tools
  7. 12 Error reporting - Constructing and informative error reporting -

    Suggestions regarding how you might fix it ES6 - Writing code for a single JavaScript runtime - You can use modern features such as arrow functions and destructing
  8. 13 Virtual DOM - Make efficient updates to the UI

    when the application state changes CSS Flexbox - Very natural fit for mobile application development
  9. 14 It is an abstraction - You might have to

    delve into the implementation and fix it yourself - You are dependant on a third party not just for bug fixes, but to keep their framework up-to-date
  10. 15 Sources Retrospective on Developing an application with React Native

    React Native Review React.js Conf 2016 An iOS Developer on React Native React May Have Just Ended The Native Vs. Web Debate The dawn of React Native