Mobile development with React Native

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →

Mobile development with React Native

Slide about React Native at RSJS 2017 talk. The main goal of this presentation was to show the difference between React Native and hybrid applications, as well, how it works under the hood.

Rodrigo Boniatti

April 08, 2017

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

68 slides
  1. Rodrigo boniatti Developer at Codeminer 42 Student at Universidade Feevale

    Github: boniattirodrigo Twitter: @boniattirodrigo Website: rodrigoboniatti.com
  2. import React, { Component } from 'react'; import { AppRegistry,

    Text, View } from 'react-native'; class MyComponent extends Component { render() { return ( <View> <Text>Hello World</Text> </View> ); } } AppRegistry.registerComponent( 'AwesomeProject', () => MyComponent);
  3. import { Text, ScrollView, } from 'react-native'; class Carousel extends

    Component { render() { return ( <ScrollView> <Text>Lorem ipsum...</Text> <Text>Lorem ipsum...</Text> <Text>Lorem ipsum...</Text> <Text>Lorem ipsum...</Text> </ScrollView> ); } }
  4. class MyTextComponent extends Component { render() { return ( <Text

    style={styles.text}>Lorem ipsum ...</Text> ) } } const styles = StyleSheet.create({ text: { padding: 20, fontSize: 16, backgroundColor: 'red', }, });

More Decks by Rodrigo Boniatti

Other Decks in Programming