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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3.9k
usermode linux without MMU - fosdem2026 kernel devroom
thehajime
0
230
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.1k
Frontier Agents (Kiro autonomous agent / AWS Security Agent / AWS DevOps Agent) の紹介
msysh
3
170
Cosmos World Foundation Model Platform for Physical AI
takmin
0
900
登壇駆動学習のすすめ — CfPのネタの見つけ方と書くときに意識していること
bicstone
3
110
プロポーザルに込める段取り八分
shoheimitani
1
280
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
380
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
4
210
こんなところでも(地味に)活躍するImage Modeさんを知ってるかい?- Image Mode for OpenShift -
tsukaman
0
140
AIエージェントを開発しよう!-AgentCore活用の勘所-
yukiogawa
0
170
Ruby版 JSXのRuxが気になる
sansantech
PRO
0
150
Featured
See All Featured
Speed Design
sergeychernyshev
33
1.5k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1.1k
Darren the Foodie - Storyboard
khoart
PRO
2
2.4k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
440
How to Think Like a Performance Engineer
csswizardry
28
2.4k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
100
Designing for Timeless Needs
cassininazir
0
130
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
140
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
150
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
How STYLIGHT went responsive
nonsquared
100
6k
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/