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
Flávio Caetano
July 27, 2017
Programming
67
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
React Native 4 Dummies
An intro to React Native for iOS developers
https://github.com/fjcaetano/talks
Flávio Caetano
July 27, 2017
More Decks by Flávio Caetano
See All by Flávio Caetano
Siri Suggestions & Shortcuts
fjcaetano
1
210
Animations: Swift vs React Native
fjcaetano
2
470
Fastlane Sob Medida
fjcaetano
1
150
Tailored Fastlane
fjcaetano
0
61
Bugreport 101
fjcaetano
0
49
Other Decks in Programming
See All in Programming
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
200
そのテスト、説明できますか?~LWテスト戦略FW~のご紹介
nakahara
0
130
Skillsは効率化、Agentsは"自分の拡張"——Builder時代のエージェント編成(CC Night 2026)
wemra
1
130
Dataformのリポジトリを立ち上げるときにまずやること / dataform-day0-2026
snhryt
0
160
Snowflake Summitでの新機能 CoCo / CoWork / snowflake-summit-2026-overall-what-new-coco
tatsuhiro
1
140
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
5.1k
Oxcを導入して開発体験が向上した話
yug1224
4
310
「エンジニアインターン、どうやって取った?」準備のリアルを語るLT会 Progate BAR
akiomatic
0
130
DynamoDBには集計系のクエリがないけどなんとかしたい
musan
1
140
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
240
Developing with AI Agents — Codex, Claude Code & Cowork Practical Guide
x5gtrn
PRO
0
1.3k
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
4
1.4k
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
200
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
440
Information Architects: The Missing Link in Design Systems
soysaucechin
0
970
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.8k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
590
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
170
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.9k
Why Our Code Smells
bkeepers
PRO
340
58k
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