Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introdução ao React-Native
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Felipe Pontes
December 01, 2017
Programming
62
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Introdução ao React-Native
Felipe Pontes
December 01, 2017
More Decks by Felipe Pontes
See All by Felipe Pontes
Minicurso de React-Native
felipemfp
1
66
Minicurso de React-Native
felipemfp
0
140
Explorando dados com Pandas
felipemfp
1
130
GeoGuide: Our stack, libraries and structure
felipemfp
0
50
Iniciando com Git e GitHub
felipemfp
0
75
Other Decks in Programming
See All in Programming
自作OSでスライド発表する
uyuki234
1
3.8k
Performance Engineering for Everyone
elenatanasoiu
0
270
壊れたパーサから始める関数型設計と構成的なパーサ #fp_matsuri
raiga0310
2
200
えっ!!コードを読まずに開発を!?
hananouchi
0
190
ビデオ通話が繋がる0.2秒で何が起きているのか
supurazako
2
140
Signal Forms: Details & Live Coding @enterJS 2026 in Mannheim
manfredsteyer
PRO
0
230
Haskell/Servantを通してWebミドルウェアを捉え直す
pizzacat83
1
500
「なぜそう決めたのか」を残し続ける仕組み ― Notion AI カスタムエージェント × Slack連携による設計判断の自動記録 - NIKKEI Tech Talk #47
niftycorp
PRO
0
260
【やさしく解説 設計編・中級 #6】良いアーキテクチャとは ~ 一本の登り道の、行き先 ~
panda728
PRO
0
150
そのテスト、説明できますか?~LWテスト戦略FW~のご紹介
nakahara
0
200
Welcome to the "Parametricity" 🏙️ − Generic だけど Specific な世界 −
guvalif
PRO
1
160
symfony/aiとlaravel/boost
77web
0
120
Featured
See All Featured
Designing for humans not robots
tammielis
254
26k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
490
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
310
A Soul's Torment
seathinner
6
3.1k
Embracing the Ebb and Flow
colly
88
5.1k
AI: The stuff that nobody shows you
jnunemaker
PRO
8
830
Google's AI Overviews - The New Search
badams
0
1.1k
Bash Introduction
62gerente
615
220k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.5k
What's in a price? How to price your products and services
michaelherold
247
13k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Transcript
Introdução ao React-Native @felipemfp Pesquisador LAIS-HUOL
Agenda • Introdução ao React • Introdução ao React-Native •
Componentes Inclusos • Componentes Open-Source • Expo • Demostração
Introdução ao React
Apenas uma biblioteca
Tudo são componentes
“Componentes interativos, stateful e reutilizáveis”
Ciclo de vida simplificado
Como escrevemos componentes em React? • Componentes são classes •
render() e JSX
JSX
Como escrevemos componentes em React? • Possuem props e state
• Possuem funções: ◦ setState() ◦ getInitialState() ◦ getDefaultProps() ◦ [...]
props
state
Como escrevemos componentes em React? • Dados fluem numa única
direção • Renderização conforme necessário (Virtual DOM)
Virtual DOM
Introdução ao React-Native
React-Native é React
Introdução ao React-Native • Componentes são renderizados como componentes nativos
• Os mesmos conceitos são utilizados para construir aplicações • Suporte oficial para iOS e Android • Suporte ainda para Universal Windows
Introdução ao React-Native • Ciclo de vida (props, state...) do
componentes são o mesmo • Continuamos usando JSX
CSS não é o mesmo
Adicionando estilo aos componentes nativos • “CSS” como prop •
StyleSheet é quase CSS
StyleSheet
Construindo layout com React-Native • O mesmo Flexbox da web
• Com diferentes defaults: ◦ flexDirection: column ◦ alignItems: stretch
Componentes inclusos
Componentes inclusos • ActivityIndicator • Button • CheckBox • DatePickerIOS
• DrawerLayoutAndroid • FlatList • Image • KeyboardAvoidingView • ListView • MaskedViewIOS • Modal • NavigatorIOS • Picker • Picker.Item • PickerIOS • ProgressBarAndroid • ProgressViewIOS • RefreshControl • ScrollView • SectionList • SegmentedControlIOS • Slider • SnapshotViewIOS • StatusBar
Componentes inclusos • Switch • TabBarIOS • TabBarIOS.Item • Text
• TextInput • ToolbarAndroid • TouchableHighlight • TouchableNativeFeedback • TouchableOpacity • TouchableWithoutFeedback • View • ViewPagerAndroid • VirtualizedList • WebView
API inclusas • AccessibilityInfo • ActionSheetIOS • Alert • AlertIOS
• Animated • AnimatedValue • AnimatedValueXY • AppRegistry • AppState • AsyncStorage • BackAndroid • BackHandler • CameraRoll • Clipboard • DatePickerAndroid • Dimensions • Easing • Geolocation • ImageEditor • ImagePickerIOS • ImageStore • InteractionManager • Keyboard • LayoutAnimation
API inclusas • Linking • NetInfo • PanResponder • PermissionsAndroid
• PixelRatio • PushNotificationIOS • Settings • Share • StatusBarIOS • StyleSheet • Systrace • TimePickerAndroid • ToastAndroid • Vibration • VibrationIOS • Layout Props • Picker Style Props • Shadow Props
Componentes Open-Source http://www.awesome-react-native.com/
None
None
None
None
Expo
Expo é React-Native • Apenas JavaScript • Fácil prototipagem •
Rápido desenvolvimento
Demostração
Demostração • yarn global add create-react-native-app • create-react-native-app dojo •
cd dojo • yarn start
Obrigado! Questionamentos? gh: @felipemfp tw: @felipemfp