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
Olena Sovyn
December 06, 2019
Technology
63
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
Transcript
15 slides
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/
More Decks by Olena Sovyn
See All by Olena Sovyn
Hidden Gems in Code Reviews
kiwka
0
65
Testing, tEstIng, TeStInG or how to test React apps with generated input data
kiwka
1
730
Building Webflow Ecommerce in 3 stories
kiwka
0
110
Building a Chrome Extension with React
kiwka
0
780
Understanding Recompose through examples
kiwka
0
560
On the way to making React components more reusable
kiwka
2
350
Using Facade pattern with JSX
kiwka
4
440
Other Decks in Technology
See All in Technology
少ない人手 限られた予算 それでも守る 消せない・見つける・戻れる オールハザード型BCP on AWS / 20261107 Mitsutoshi Matsuo
shift_evolve
PRO
0
390
生成AI時代のIAMのマニアックな話
takuros
6
3.3k
自治体AIコンタクトセンター、何をどこに任せる?~Amazon Connect Customer +Amazon Bedrockの実践知~ / 20261107 Satoshi Torano
shift_evolve
PRO
1
140
田んぼの見回りをIoTで減らしたい!水位監視から電池駆動カメラまでの試行錯誤
itosoft
1
220
LLM 基盤と kagent v0 を全部 k8s に入れてみた / Deploy both LLM and kagent v0 in k8s
kota2and3kan
0
220
AWS Emulator を評価する: 手元で動く AWS の API の仕組み、始め方、確かめ方
inariku
PRO
1
650
2026-11-11 Tamachi.sre#7 PaCにインフラリソースの命を救われました。 / PaC saves the infra resource life
masasuzu
1
180
属人化したISMS運用をGitHubとAIで仕組み化した1年間の記録
sioncojp
4
2.6k
Context Ontology Accelerator 入門 (業務データの意味を、AI エージェントに渡す)
inariku
PRO
3
680
Kansai WordPress Meetup@大阪『ブロックテーマを作る上で知っておくべきこと
torounit
0
110
AIネイティブ組織の作り方。1人のPOとAIから始める、自社での実験
ama_ch
2
860
並列度を下げたら速くなった — go build の重複コンパイルを実測で見る
tomoaki25
2
1.2k
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7.1k
Amusing Abliteration
ianozsvald
1
390
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
620
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
470
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
480
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.3k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
480