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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
More Decks by Jamison Dance
See All by Jamison Dance
Community for New Developers
jergason
0
73
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
270
Notes From The Future: Beyond Flux
jergason
0
130
nosql and mongodb: ¯\_(ツ)_/¯
jergason
0
170
Other Decks in Programming
See All in Programming
No More NoSuchMethodError
exoego
1
110
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
1
200
ActionController meets Protocol Buffers
sorah
1
720
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
1.4k
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.8k
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
12
4.4k
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.8k
PyConTW 2026 - AI Coding 不只是工具升級, 區域醫院醫療資訊系統協作開發與資訊團隊轉型實踐
cclai999
0
200
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
1.2k
Kotlinの15年とServer-Side Kotlin
n_takehata
1
170
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
380
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Fireside Chat
paigeccino
43
4.1k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
59k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
RailsConf 2023
tenderlove
30
1.6k
Git: the NoSQL Database
bkeepers
PRO
433
67k
Paper Plane
katiecoart
PRO
5
54k
Designing Powerful Visuals for Engaging Learning
tmiket
1
620
Designing for Timeless Needs
cassininazir
1
530
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
470
Become a Pro
speakerdeck
PRO
31
6.3k
Transcript
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