Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
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
200
1
Share
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
69
Pop Culture, The Pendulum and Progress
jergason
0
120
Rethinking All Practices: Building Web Applications with Elm
jergason
2
210
The Future is Old - Functional Programming in JavaScript
jergason
1
260
Notes From The Future: Beyond Flux
jergason
0
110
nosql and mongodb: ¯\_(ツ)_/¯
jergason
0
160
Other Decks in Programming
See All in Programming
🦞OpenClaw works with AWS
licux
1
350
リセットCSSを1行消したらアクセシビリティが向上した話
pvcresin
4
500
Back to the roots of date
jinroq
0
780
AIを導入する前にやるべきこと
negima
2
340
開発とはなにか、Essenceカーネルで見えるもの
ukin0k0
0
110
Spec-Driven Development with AI Agents (Workshop, May 2026)
antonarhipov
3
340
Programming with a DJ Controller — not vibe coding
m_seki
3
810
継続的な負荷検証を目指して
pyama86
3
1k
ローカルLLMでどこまでコードが書けるか / How much code can be written on a local LLM
kishida
2
340
From Formal Specification to Property Based Test
ohbarye
0
2.4k
GoogleCloudとterraform完全に理解した
terisuke
1
190
Explore CoroutineScope
tomoeng11
0
180
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.9k
Into the Great Unknown - MozCon
thekraken
41
2.5k
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
690
Code Reviewing Like a Champion
maltzj
528
40k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
180
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
280
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
200
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
170
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
250
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