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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
From Formal Specification to Property Based Test
ohbarye
0
640
ハーネスエンジニアリングとは?
kinopeee
13
6.6k
〜バイブコーディングを超えて〜 チームで実験し続けたAI駆動開発
tigertora7571
0
180
How Swift's Type System Guides AI Agents
koher
0
320
Spec Driven Development | AI Summit Vilnius
danielsogl
PRO
1
130
AI時代のPhpStorm最新事情 #phpcon_odawara
yusuke
0
250
Claude Code × Gemini × Ebitengine ゲーム制作素人WebエンジニアがGoでゲームを作った話
webzawa
0
210
JOAI2026 1st solution - heron0519 -
heron0519
0
170
AI-DLC Deep Dive
yuukiyo
9
5.3k
AIと共に生きる技術選定 2026
sgash708
0
120
The Less-Told Story of Socket Timeouts
coe401_
3
910
Explore CoroutineScope
tomoeng11
0
140
Featured
See All Featured
sira's awesome portfolio website redesign presentation
elsirapls
0
230
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
43k
Building an army of robots
kneath
306
46k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
330
Exploring anti-patterns in Rails
aemeredith
3
340
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
780
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
220
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Designing for Performance
lara
611
70k
First, design no harm
axbom
PRO
2
1.2k
Making Projects Easy
brettharned
120
6.6k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
270
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