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
React Native 4 Dummies
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Flávio Caetano
July 27, 2017
Programming
0
63
React Native 4 Dummies
An intro to React Native for iOS developers
https://github.com/fjcaetano/talks
Flávio Caetano
July 27, 2017
Tweet
Share
More Decks by Flávio Caetano
See All by Flávio Caetano
Siri Suggestions & Shortcuts
fjcaetano
1
190
Animations: Swift vs React Native
fjcaetano
2
470
Fastlane Sob Medida
fjcaetano
1
150
Tailored Fastlane
fjcaetano
0
55
Bugreport 101
fjcaetano
0
44
Other Decks in Programming
See All in Programming
コントリビューターによるDenoのすゝめ / Deno Recommendations by a Contributor
petamoriken
0
200
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
600
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.5k
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
380
Package Management Learnings from Homebrew
mikemcquaid
0
210
CSC307 Lecture 09
javiergs
PRO
1
830
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
180
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
660
AgentCoreとHuman in the Loop
har1101
5
230
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
180
今から始めるClaude Code超入門
448jp
8
8.5k
Featured
See All Featured
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
0
100
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
350
Designing for Timeless Needs
cassininazir
0
130
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
170
A Soul's Torment
seathinner
5
2.2k
sira's awesome portfolio website redesign presentation
elsirapls
0
140
Navigating Team Friction
lara
192
16k
GraphQLの誤解/rethinking-graphql
sonatard
74
11k
Building Applications with DynamoDB
mza
96
6.9k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
120
Tell your own story through comics
letsgokoyo
1
810
Transcript
React Native 4 Dummies Flávio Caetano Senior Developer
1. O que 2. Como 3. Demo 4. Por quê
O que é React Native
1. Plataforma para criar React-like apps 2. JavaScript & JSX
3. Objective-C & Swift 4. Java 5. Híbrido (one app to rule them all) 6. Nativo
1. Web app 2. Conversor de código 3. DOM React
Native não é
Como RN Funciona
1. Componentes ⟷ Views Nativas 2. Props → atributos públicos
imutáveis 3. State → atributos mutáveis Conceitos
Contexto JS Contexto Nativo Inicialização Componentes Alocação dinâmica das views
Interação Callback do Componente queue JS Main queue + outras Atualiza UI
1. constructor 2. componentWillMount 3. render 4. componentDidMount 5. componentWillUnmount
Lifecycle do componente
1. componentWillReceiveProps 2. shouldComponentUpdate 3. componentWillUpdate 4. render 5. componentDidUpdate
Update do componente
1. Packager gera um bundle do JS 2. Queue JS
executa o bundle 3. Main queue cuida da UI 4. Views alocadas dinamicamente 5. Bridging apenas quando necessário Recapitulando
Animações
1. Rodam no contexto nativo 2. Declarativas 3. Interpolação (matriz
de transformação)
Contexto JS Contexto Nativo Declaração queue JS Main queue Inicialização
Executa animação Frame 1 Executa animação Frame 2 Executa animação Frame 3
Demo
Por quê usar RN?
1. Tempo de iteração ↓ 2. 1 projeto para 2
plataformas 3. 1 time de desenvolvimento mobile 4. Performance aceitável 5. 99% JS + 1% nativo 6. Cocoapods libs nativas + ∞ libs JS 7. Tchau Xcode/Android Studio
Obrigado github.com/fjcaetano @flavio_caetano