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
React and Typescript – How They Fell in Love
Search
Aleksander Stós
July 26, 2018
Technology
66
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
React and Typescript – How They Fell in Love
Presentation from Microconf (25.07.2018)
Aleksander Stós
July 26, 2018
Other Decks in Technology
See All in Technology
Local CI × GitHub Actions
gogutan
2
190
Metadata - Section 1: HTML Basics
mohab1
0
120
触りたくないデータに、どう触るか AI時代のRBACアクセスガバナンス
ivry_presentationmaterials
0
260
ソフトウェア ファクトリー - 再現性のあるソフトウェアの工場づくり / Software factory
iktakahiro
6
4.9k
Rust で関数型ドメインモデリング
takonda
0
140
S3 Filesで挑む! 八戸せんべい汁の食べ頃問題
usanchuu
0
100
M5Stackで作る BLEマウス GPSログの世界
tomokusaba
0
420
Conditional PED-ANOVA: Hyperparameter Importance in Hierarchical & Dynamic Search Spaces
pfn
PRO
0
130
ストレスなくAIと付き合いたい!こんなときどうしてる?
namiki64
3
520
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
290
AI駆動開発の時代になったのでトヨタ生産方式から見直す
terurou
7
6k
JAWSUG TOHOKU 青森支部 「LoGoチャット」のAWS移行で 乗り越えたこと
taketakekaho
0
330
Featured
See All Featured
Building Applications with DynamoDB
mza
96
7.2k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
How STYLIGHT went responsive
nonsquared
100
6.3k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
360
Exploring anti-patterns in Rails
aemeredith
4
540
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
340
Utilizing Notion as your number one productivity tool
mfonobong
4
620
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
Optimizing for Happiness
mojombo
378
71k
Writing Fast Ruby
sferik
630
63k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
300
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
780
Transcript
React and Typescript – How They Fell in Love with
Aleksander Stós, SwingDev’s Front-end Developer
7 months journey
! What I’ve built?
None
Almost 180 redux related/utils files Around 250 views/components "
Typescript
None
None
What are the benefits?
Code refactor
None
None
None
None
Code understanding
Documentation
https://github.com/google-map-react/google-map-react
None
None
None
Code maintenance & your teammates
None
IDE Support
Visual Studio Code
Webstorm
TSLint
None
tslint.config My recommendations https://palantir.github.io/tslint/
tslint-microsoft-contrib https://github.com/Microsoft/tslint-microsoft-contrib
Supported rules with descriptions https://github.com/Microsoft/tslint-microsoft-contrib#supported-rules
tslint-react https://github.com/palantir/tslint-react
Do not be afraid to override some of the rules
for more flexibility
* Is it hard to learn Typescript?
None
Should you use Typescript in your React projects?
Yes +
• Speed up your & your friends work • Less
bugs & errors • Less stress while making changes • More readable and easier to understand code
None
Further reading • Typescript documentation • How & why: A
guide to using Typescript with React • Best practices for using Typescript with React • Ultimate React Component Patterns with Typescript 2.8 • HOC Example • HOC Another Example
#microconf https://twitter.com/alestosiu https://medium.com/@stosiu https://github.com/Stosiu #warsawmicroconf
Thank you!