A Cartoon Guide To Performance in React
summary
Content gives concrete mechanisms: uses virtual DOM to batch DOM updates so the main thread does fewer reflows; keys prevent full reorders by making instance identity stable; immutability + shouldComponentUpdate enable cheap equality checks to skip subtree work; and connect lower to avoid whole-tree updates when using Redux. Examples include a number-squaring demo and a reversed-list demo that show when each trick actually saves time. Mentions Servo and Tofino as real projects motivating digging into render-cycle internals.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 2:54Basics of Rendering
- 9:02Virtual DOM
- 14:28Property Names
- 20:53Keys
- 22:28The Problem
- 25:47The Potential Bug
- 27:48Immutability
related talks
26mA cartoon guide to performance in React
30mA Cartoon Guide to Performance in React
28mA cartoon guide to performance in React
31mAnimating the Virtual DOM
31mUnderstanding Rendering Patterns
34mReact The Good Parts
21mUnderstanding Rendering Patterns
02h 50mReact: Internals and Advanced Performance Patterns
