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
53
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
740
Understanding Recompose through examples
kiwka
0
500
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
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.1k
Context Engineeringの取り組み
nutslove
0
350
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
660
超初心者からでも大丈夫!オープンソース半導体の楽しみ方〜今こそ!オレオレチップをつくろう〜
keropiyo
0
110
ClickHouseはどのように大規模データを活用したAIエージェントを全社展開しているのか
mikimatsumoto
0
230
AIエージェントを開発しよう!-AgentCore活用の勘所-
yukiogawa
0
170
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
4
1.3k
ZOZOにおけるAI活用の現在 ~開発組織全体での取り組みと試行錯誤~
zozotech
PRO
5
5.6k
今日から始めるAmazon Bedrock AgentCore
har1101
4
410
量子クラウドサービスの裏側 〜Deep Dive into OQTOPUS〜
oqtopus
0
120
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
350
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
340
58k
Testing 201, or: Great Expectations
jmmastey
46
8k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
86
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
250
ラッコキーワード サービス紹介資料
rakko
1
2.3M
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
53
Amusing Abliteration
ianozsvald
0
100
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
170
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/