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
Empowering your React application with Flow typ...
Search
Olena Sovyn
December 06, 2019
Technology
0
54
Empowering your React application with Flow type system
Olena Sovyn
December 06, 2019
Tweet
Share
More Decks by Olena Sovyn
See All by Olena Sovyn
Hidden Gems in Code Reviews
kiwka
0
52
Testing, tEstIng, TeStInG or how to test React apps with generated input data
kiwka
1
680
Building Webflow Ecommerce in 3 stories
kiwka
0
91
Building a Chrome Extension with React
kiwka
0
750
Understanding Recompose through examples
kiwka
0
510
On the way to making React components more reusable
kiwka
2
320
Using Facade pattern with JSX
kiwka
4
410
Other Decks in Technology
See All in Technology
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
社内でAWS BuilderCards体験会を立ち上げ、得られた気づき / 20260225 Masaki Okuda
shift_evolve
PRO
1
160
Webアクセシビリティ技術と実装の実際
tomokusaba
0
210
Ultra Ethernet (UEC) v1.0 仕様概説
markunet
3
110
生成AI活用によるPRレビュー改善の歩み
lycorptech_jp
PRO
5
2k
【SLO】"多様な期待値" と向き合ってみた
z63d
2
290
Kiro のクレジットを使い切る!
otanikohei2023
0
110
男(監査)はつらいよ - Policy as CodeからAIエージェントへ
ken5scal
5
720
AI が Approve する開発フロー / How AI Reviewers Accelerate Our Development
zaimy
1
260
LLM活用の壁を超える:リクルートR&Dの戦略と打ち手
recruitengineers
PRO
1
220
DX Improvement at Scale
ntk1000
2
230
ヘルシーSRE
tk3fftk
2
230
Featured
See All Featured
Crafting Experiences
bethany
1
75
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
GraphQLの誤解/rethinking-graphql
sonatard
75
11k
How to build a perfect <img>
jonoalderson
1
5.2k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
sira's awesome portfolio website redesign presentation
elsirapls
0
170
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
310
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
84
From π to Pie charts
rasagy
0
140
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Transcript
Empowering your React application with Flow type system Olena Sovyn
@frontendgirl
@frontendgirl
None
Why?
Benefits 1. No unused properties 2. Improved refactoring experience 3.
Documentation in place @frontendgirl
How?
None
None
What are the rules?
1. Be as exact as possible @frontendgirl
1. Be as exact as possible No error Error @frontendgirl
2. Spot “black holes” Black holes are functions return values
of which have type any, even though their types can be more specific based on the function internal logic
2. Spot “black holes” . flowconfig No error eslint-plugin-flowtype @frontendgirl
3. Use meaningful type names @frontendgirl
Let’s do our codebases automagically better! 1. Be as exact
as possible 2. Spot “black holes” 3. Meaningful type names Check also: What? How? Why? 1. No unused properties 2. Improved refactoring 3. Documentation in place find and follow simple rules @frontendgirl http://frontendgirl.com/flow-best-practices/