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
60
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Empowering your React application with Flow type system
Olena Sovyn
December 06, 2019
More Decks by Olena Sovyn
See All by Olena Sovyn
Hidden Gems in Code Reviews
kiwka
0
59
Testing, tEstIng, TeStInG or how to test React apps with generated input data
kiwka
1
710
Building Webflow Ecommerce in 3 stories
kiwka
0
99
Building a Chrome Extension with React
kiwka
0
770
Understanding Recompose through examples
kiwka
0
540
On the way to making React components more reusable
kiwka
2
340
Using Facade pattern with JSX
kiwka
4
430
Other Decks in Technology
See All in Technology
「休む」重要さ
smt7174
5
710
最適な自走を最小限の支援で — M&Aで拡大する組織で少人数SREが挑んだ1年 / SRE NEXT 2026
genda
0
1.6k
GoでCコンパイラを作った話
repunit
0
140
OpenTelemetryにおけるGoのゼロコード・コンパイル時計装について #fukuokago
quiver
0
160
キャリアLT会#3
beli68
0
170
「顧客の声を聞かなければ何も始まらない」 ── 顧客の声から生まれた『AI返信補助機能』の開発プロセス / AICon2026_shikata_imai
rakus_dev
0
230
CDKで書くECSのベストプラクティス、 改めて考え直す2026 #cdkconf2026
makies
3
890
シンガポールで登壇してきます
yama3133
0
300
AICoEでAIネイティブ組織への進化
yukiogawa
0
210
Webアプリ認証の全体像 / The Big Picture of Web App Authentication
kitano_yuichi
1
350
非定型なドキュメントを効率よくリファクタする 〜えぇ!?仕様書27本の移行が1日で終わったって!?〜
subroh0508
2
590
10年目を迎えた「ABEMA」がどのように AI 活用を推進して、AI 駆動開発にシフトしているのか / How ABEMA, entering its 10th year, is promoting the use of AI and shifting toward AI-driven development
miyukki
0
320
Featured
See All Featured
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
230
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
400
Evolving SEO for Evolving Search Engines
ryanjones
0
240
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
590
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
330
A Tale of Four Properties
chriscoyier
163
24k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.8k
Paper Plane (Part 1)
katiecoart
PRO
1
9.7k
A Modern Web Designer's Workflow
chriscoyier
698
190k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
430
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
350
[SF Ruby Conf 2025] Rails X
palkan
2
1.2k
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/