Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
React Native 4 Dummies
Search
Flávio Caetano
July 27, 2017
Programming
70
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
220
Animations: Swift vs React Native
fjcaetano
2
470
Fastlane Sob Medida
fjcaetano
1
160
Tailored Fastlane
fjcaetano
0
63
Bugreport 101
fjcaetano
0
51
Other Decks in Programming
See All in Programming
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
500
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
590
Event is what happens
moro
2
770
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
880
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
190
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
260
すこし踏み込む CancellationToken
htkym
2
1.7k
Agents on Rails - Rails at Scale 2026
irinanazarova
0
560
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
IBM Bob でAI駆動開発『QC-Playbook』
ichirokano2
0
110
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.2k
Featured
See All Featured
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
360
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Ruling the World: When Life Gets Gamed
codingconduct
0
400
A Soul's Torment
seathinner
8
3.8k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
How to Talk to Developers About Accessibility
jct
2
580
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Done Done
chrislema
187
17k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
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