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 Performance: ONE WEIRD TRICK
Search
Jamison Dance
April 29, 2016
Programming
210
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
React Performance: ONE WEIRD TRICK
How do you optimize React applications? WITH ONE WEIRD TRICK
Jamison Dance
April 29, 2016
Transcript
18 slides
React Performance @jergason
BUY React Rally Tickets http://reactrally.com
React Performance
ONE WEIRD TRICK for speeding up your React applications
ONE WEIRD TRICK
ONE WEIRD TRICK Have a deep knowledge of React's rendering
model and JavaScript execution combined with familiarity with browser and React performance tooling.
ONE WEIRD TRICK Have a deep knowledge of React's rendering
model and JavaScript execution combined with familiarity with browser and React performance tooling and know some basic techniques of general optimization.
How React Works How Optimization Works Demo
How React Works
setState render render render
dispatch reducer render render render render render render
How Optimization Works
Rules of Optimization 1.Don't 2.Don't yet 3.Profile before optimizing http://c2.com/cgi/wiki?RulesOfOptimization
Optimization In React
Render will be called MANY TIMES
Two Options • call render fewer times • make render
faster
Demo https://github.com/jergason/slowloris
Resources • https://facebook.github.io/react/docs/perf.html • https://facebook.github.io/react/docs/advanced- performance.html • http://benchling.engineering/performance- engineering-with-react/ •
http://benchling.engineering/deep-dive-react-perf- debugging/ • https://github.com/reddit/reddit-mobile/issues/247
More Decks by Jamison Dance
See All by Jamison Dance
Community for New Developers
jergason
0
77
Pop Culture, The Pendulum and Progress
jergason
0
140
Rethinking All Practices: Building Web Applications with Elm
jergason
2
220
The Future is Old - Functional Programming in JavaScript
jergason
1
280
Notes From The Future: Beyond Flux
jergason
0
130
nosql and mongodb: ¯\_(ツ)_/¯
jergason
0
170
Other Decks in Programming
See All in Programming
疎結合とは何か?ソフトウェア設計における結合バランスについて考える #phpcon_niigata
kajitack
2
330
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
200
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
320
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.4k
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
310
Proxmox x Talos Linux x Terraform で実現するなんかいい感じの Kubernetes クラスタ / A Sleek Kubernetes Cluster Powered by Proxmox, Talos Linux, and Terraform
nnaka2992
0
260
Kotlin JVM用に作られたライブラリのKMPを前提とした再設計
jsoizo
0
200
複数ドメインを一つのアプリに統合するFlutterの設計と運用_FlutterKaigi2026登壇資料(須永高弘)
takahirosunaga
0
200
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
350
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
250
Beyond Chatbots: Agentic UI with Open Standards @W-JAX 2026, München
manfredsteyer
PRO
0
120
仕様駆動開発入門 (何を作るかを先に決めて渡す) | 目指せ Kiro マスター 05
inariku
PRO
2
190
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
340
Thoughts on Productivity
jonyablonski
76
5.5k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.7k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
Crafting Experiences
bethany
1
450
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
610
Odyssey Design
rkendrick25
PRO
3
950
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
560
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
990
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
850