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
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
AI時代、エンジニアはどう育つのか -未経験エンジニアの成長を間近で見て考えたこと-
thasu0123
0
130
共通化で考えるべきは、実装より公開する型だった
codeegg
0
250
信頼性について考えてみる(SRE NEXT 2026 miniLT)
hayama17
0
200
作るコストが小さくなった時代 幸せに働くために改めて考えたいこと 〜エンジニアとして価値を出し続けるために注視している二分野〜
yuppeeng
0
110
SREは、MCPとSRE Agentをこう使え!
kazumax55
0
150
OSINT for SRE: 学術論文とポストモーテムから探る システム障害の共通パターン / SRE NEXT 2026
tomoyk
1
3.9k
アルゴリズムは何を圧縮しているのか ─ Haskell から育った「圧縮代数」というメンタルモデル
naoya
16
3.5k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
270
関数型プログラミングのメリットって何だろう?
wanko_it
0
180
광주소프트웨어마이스터고등학교 DevFest 특강 - 바이브 코딩 시대에서 주니어 개발자로 살아남는 방법
utilforever
1
140
Claude Opus 4.6以後の受託開発エンジニアの変化(Claude Code開発ノウハウ大公開スペシャルbyクラスメソッド)
iidatakuma
1
790
Terraform標準の組織で AWS CDKをどう使うか
mu7889yoon
0
290
Featured
See All Featured
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
150
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
230
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Claude Code のすすめ
schroneko
67
230k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
280
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
170
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
260
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.4k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
220
WENDY [Excerpt]
tessaabrams
11
38k
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