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

React Native for iOS Developers

eladav
August 03, 2016

React Native for iOS Developers

by Aviv Rozenboim and Elad Aviv, iOS Devs - Soluto

React Native combines the best parts of web development and native mobile development. In this talk we're going to show you the React Native development experience, and how to easily integrate it with an existing iOS application

eladav

August 03, 2016
Tweet

Other Decks in Programming

Transcript

  1. What’s about to happen? ! Introduction to React ◦ Components

    ◦ State and Props ◦ Examples ! React Native in iOS ◦ Live coding session ! A bit behind the scenes
  2. Why React? Learn once, apply everywhere. Available on the web,

    mobile platforms, Windows 10 and Ubuntu.
  3. Everything is a Component ! Components receive data and return

    a UI ◦ Reusable ◦ Composable ◦ Declarative (not imperative!)
  4. Render cycle - props {name: “aviv”} HelloMessage component return (

    <span>Hello {this.props.name}</ span> ); <span>Hello aviv</span> props render
  5. Render cycle - props {name: “aviv”} HelloMessage component return (

    <span>Hello {this.props.name}</ span> ); <span>Hello aviv</span> props render
  6. Render cycle - props {name: “aviv”} HelloMessage component return (

    <span>Hello {this.props.name}</ span> ); <span>Hello aviv</span> “elad” props render
  7. Render cycle - props {name: “aviv”} HelloMessage component return (

    <span>Hello {this.props.name}</ span> ); <span>Hello aviv</span> “elad” props render
  8. Render cycle - props {name: “aviv”} HelloMessage component return (

    <span>Hello {this.props.name}</ span> ); <span>Hello aviv</span> “elad” props render
  9. Render cycle - props {name: “aviv”} HelloMessage component return (

    <span>Hello {this.props.name}</ span> ); <span>Hello aviv</span> “elad” elad props render
  10. What is React Native “React Native lets you build mobile

    apps using only JavaScript. It uses the same design as React, letting you compose a rich mobile UI from declarative components.” - Facebook
  11. Easy integration Pluggable anywhere in an existing app or website

    Can be used to create a whole view or just one UI element