$30 off During Our Annual Pro Sale. View Details »
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
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
90
Building a Chrome Extension with React
kiwka
0
730
Understanding Recompose through examples
kiwka
0
500
On the way to making React components more reusable
kiwka
2
310
Using Facade pattern with JSX
kiwka
4
410
Other Decks in Technology
See All in Technology
SQLだけでマイグレーションしたい!
makki_d
0
1.2k
New Relic 1 年生の振り返りと Cloud Cost Intelligence について #NRUG
play_inc
0
190
Oracle Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
2
180
mairuでつくるクレデンシャルレス開発環境 / Credential-less development environment using Mailru
mirakui
5
580
たまに起きる外部サービスの障害に備えたり備えなかったりする話
egmc
0
360
AIBuildersDay_track_A_iidaxs
iidaxs
4
1k
JEDAI認定プログラム JEDAI Order 2026 エントリーのご案内 / JEDAI Order 2026 Entry
databricksjapan
0
150
AgentCoreとStrandsで社内d払いナレッジボットを作った話
motojimayu
1
680
Snowflake導入から1年、LayerXのデータ活用の現在 / One Year into Snowflake: How LayerX Uses Data Today
civitaspo
0
2k
子育てで想像してなかった「見えないダメージ」 / Unforeseen "hidden burdens" of raising children.
pauli
2
320
日本Rubyの会: これまでとこれから
snoozer05
PRO
5
220
Agent Skillsがハーネスの垣根を超える日
gotalab555
5
3.3k
Featured
See All Featured
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1k
The agentic SEO stack - context over prompts
schlessera
0
550
Writing Fast Ruby
sferik
630
62k
KATA
mclloyd
PRO
33
15k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
0
940
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
980
Typedesign – Prime Four
hannesfritz
42
2.9k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
72
GitHub's CSS Performance
jonrohan
1032
470k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
The untapped power of vector embeddings
frankvandijk
1
1.5k
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/