~/talk

Building High Performance React Applications

Talkat Node+JS Interactive 2018 · on Thursday, 2018-10-11· at 14:00· West Ballroom C· [react, web-performance]
slides:none on file

React at Best Buy stays fast by measuring and reducing actual DOM work: using keys cuts a sample list render from 34ms → 17ms, adding shouldComponentUpdate drops it to 9ms, and Pure/functional components give similar gains. Setting NODE_ENV=production yields 2–8× faster builds. Other practices: immutable data for cheap change detection, server-side (isomorphic) rendering to shorten first paint, gzip/minify assets, serve images from a CDN, and analyze bundles with webpack-bundle-analyzer to remove heavy deps like moment or Bluebird.

AI-written summary · about

  1. 0:00Intro
  2. 0:14BUILDING HIGH PERFORMANCE REACT APPLICATIONS
  3. 1:24+100MS DELAY -1% AMAZON'S SALES
  4. 2:03VIRTUAL DOM
  5. 3:44SHORT ANSWER
  6. 4:04LONG ANSWER
  7. 5:3734 MS
  8. 8:37SPECIFY EXACTLY WHENA COMPONENT SHOULD RENDER
  9. 10:41DOES A SHALLOW COMPARISON OF ALL PROPS/STATE
  10. 13:54FANCY WORD FOR MAKING A NEW COPY OF AN OBJECT
  11. 14:16MAKES TRACKING CHANGES CHEAP
  12. 15:43USE ISOMORPHIC REACT
  13. 17:22DEBUGGING IS TRICKIER MANAGING CONFIGS NO DOM
  14. 20:18USE STATELESS COMPONENTS
  15. 21:16MORE THOUGHTS ON PERFORMANCE
  16. 21:37GZIP ALL THE PLAINTEXT
  17. 21:57WHAT ABOUT IMAGES?
  18. 22:10ANALYZE YOUR WEBPACK
  19. 24:26THE MOST IMPORTANT SLIDE
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.