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
55
0
Share
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
55
Testing, tEstIng, TeStInG or how to test React apps with generated input data
kiwka
1
690
Building Webflow Ecommerce in 3 stories
kiwka
0
95
Building a Chrome Extension with React
kiwka
0
750
Understanding Recompose through examples
kiwka
0
520
On the way to making React components more reusable
kiwka
2
330
Using Facade pattern with JSX
kiwka
4
420
Other Decks in Technology
See All in Technology
DevOpsDays2026 Tokyo Cross-border practices to connect "safety" and "DX" in healthcare
hokkai7go
0
130
CC Workflow Studio
seiyakobayashi
0
290
BIツール「Omni」の紹介 @Snowflake中部UG
sagara
0
270
Discordでリモートポケカしてたら、なぜかDOを25分間動かせるようになった話
umireon
0
120
非エンジニア職からZOZOへ 〜登壇がキャリアに与えた影響〜
penpeen
0
230
DIPS2.0データに基づく森林管理における無人航空機の利用状況
naokimuroki
0
200
数案件を同時に進行するためのコンテキスト整理術
sutetotanuki
1
200
Introduction to Bill One Development Engineer
sansan33
PRO
0
400
AIがコードを書く時代の ジェネレーティブプログラミング
polidog
PRO
3
680
Oracle Cloud Infrastructure(OCI):Onboarding Session(はじめてのOCI/Oracle Supportご利⽤ガイド)
oracle4engineer
PRO
2
17k
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
380
AI環境整備はどのくらい開発生産性を変えうるか? #AI駆動開発 #AI自走環境
ucchi0909
0
120
Featured
See All Featured
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
180
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
260
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
We Are The Robots
honzajavorek
0
210
Paper Plane (Part 1)
katiecoart
PRO
0
6.5k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
110
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
480
Code Reviewing Like a Champion
maltzj
528
40k
Color Theory Basics | Prateek | Gurzu
gurzu
0
290
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
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/