Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
61
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
61
Testing, tEstIng, TeStInG or how to test React apps with generated input data
kiwka
1
720
Building Webflow Ecommerce in 3 stories
kiwka
0
100
Building a Chrome Extension with React
kiwka
0
780
Understanding Recompose through examples
kiwka
0
550
On the way to making React components more reusable
kiwka
2
340
Using Facade pattern with JSX
kiwka
4
440
Other Decks in Technology
See All in Technology
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
270
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.7k
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
880
AI時代だからこそ推したい!Gitコマンド再入門
munakata
0
180
自分で立ててみるLLMサービス
y_sera15
0
160
【Data Engineering Summit2026_登壇資料】医療ビッグデータ×AIエージェントを支えるデータ基盤とハーネスエンジニアリング
jmdc_presentation
0
130
ブラウザとサーバーから考えるAI時代のフロントエンド監視
shogo4131
3
860
hackers_champloo_2026_tidb
makocchi
0
140
味覇で作るパスタが美味い - 20261001_yabaubuki.dev
livesense
PRO
0
130
Kiro Crewをはじめよう
kizawa2020
1
140
メルペイ 会計システム概要と歴史
mewuto
1
210
Running Kotlin + Quarkus with Lambda
nealle
1
450
Featured
See All Featured
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
500
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
460
Leo the Paperboy
mayatellez
10
2.4k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
KATA
mclloyd
PRO
35
16k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
400
Tell your own story through comics
letsgokoyo
1
1.1k
Docker and Python
trallard
47
4.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/