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
States, props and React Native
Search
Caio Alcântara
April 08, 2017
Technology
0
48
States, props and React Native
Entenda como pensar, estruturar e gerir o seu state de forma inteligente.
Caio Alcântara
April 08, 2017
Tweet
Share
Other Decks in Technology
See All in Technology
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
240
生成AIを活用した音声文字起こしシステムの2つの構築パターンについて
miu_crescent
PRO
2
210
変化するコーディングエージェントとの現実的な付き合い方 〜Cursor安定択説と、ツールに依存しない「資産」〜
empitsu
4
1.4k
ブロックテーマ、WordPress でウェブサイトをつくるということ / 2026.02.07 Gifu WordPress Meetup
torounit
0
190
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.5k
20260208_第66回 コンピュータビジョン勉強会
keiichiito1978
0
150
顧客との商談議事録をみんなで読んで顧客解像度を上げよう
shibayu36
0
250
AzureでのIaC - Bicep? Terraform? それ早く言ってよ会議
torumakabe
1
560
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.1k
Claude_CodeでSEOを最適化する_AI_Ops_Community_Vol.2__マーケティングx_AIはここまで進化した.pdf
riku_423
2
580
仕様書駆動AI開発の実践: Issue→Skill→PRテンプレで 再現性を作る
knishioka
2
670
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
42
2.9k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
120
The agentic SEO stack - context over prompts
schlessera
0
640
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
78
GitHub's CSS Performance
jonrohan
1032
470k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
120
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
110
Scaling GitHub
holman
464
140k
Transcript
States, props and React Native Gerindo o fluxo de informação
na sua aplicação de forma inteligente
Quem? Caio Lucas Alcântara - @clucasalcantara Mobile Software Engineer
ONE WAY DATA FLOW
React Native Component LifeCycle
State and Props Variáveis utilizadas para controlar as informações que
fluem na interface.
State Estado, literalmente. Representa tudo o que está "instanciado" na
sua aplicação. Sua atualização dispara o render.
Props Informações recebidas na construção do componente, herdadas pelo pai,
imutáveis.
Evite modelar o state baseando-se na API:
None
Nunca guarde dados derivados do seu estado A idéia é
aproveitar os side effects condicionados
Seu state deve ser um cidadão de primeira classe Imperativo
versus Declarativo versus Reativo
Vai dar merda, sempre dá :)
Abordagens com JS para facilitar a manipulação do fluxo Router
Flux React Navigation Flux ...
ES6/7 Destructuring Arrow functions Async Await ...
None
Gerenciadores de States Frameworks criados para auxiliar na manipulação de
estados durante a sua aplicação
None
Abstração é bom! Mas não pra aprendizado!! Cuidado ao "caixa
pretar" as coisas.
Obrigado, gente!!