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
49
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
夢の無限スパゲッティ製造機 #phperkaigi
o0h
PRO
0
370
CloudFrontのHost Header転送設定でパケットの中身はどう変わるのか?
nagisa53
1
190
やさしいとこから始めるGitHubリポジトリのセキュリティ
tsubakimoto_s
2
1.4k
DMBOKを使ってレバレジーズのデータマネジメントを評価した
leveragestech
0
270
Why we keep our community?
kawaguti
PRO
0
260
The Rise of Browser Automation: AI-Powered Web Interaction in 2026
marcthompson_seo
0
310
俺の/私の最強アーキテクチャ決定戦開催 ― チームで新しいアーキテクチャに適合していくために / 20260322 Naoki Takahashi
shift_evolve
PRO
1
450
AWS Systems Managerのハイブリッドアクティベーションを使用したガバメントクラウド環境の統合管理
toru_kubota
0
160
RGBに陥らないために -プロダクトの価値を届けるまで-
righttouch
PRO
0
110
AI時代のIssue駆動開発のススメ
moongift
PRO
0
240
スピンアウト講座04_ルーティン処理
overflowinc
0
1.2k
【社内勉強会】新年度からコーディングエージェントを使いこなす - 構造と制約で引き出すClaude Codeの実践知
nwiizo
24
12k
Featured
See All Featured
How GitHub (no longer) Works
holman
316
150k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Six Lessons from altMBA
skipperchong
29
4.2k
Fireside Chat
paigeccino
42
3.8k
AI: The stuff that nobody shows you
jnunemaker
PRO
3
480
YesSQL, Process and Tooling at Scale
rocio
174
15k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.2k
From π to Pie charts
rasagy
0
160
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
Design in an AI World
tapps
0
180
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!!