~/talk

How Streaming Can Supercharge React

Talkat ReactEurope 2017 · on Thursday, 2017-05-18· [react, web-performance]
slides:none on file

Server-side streaming of HTML, CSS, JS and JSON shaves seconds off first paint and interactivity: a client-rendered demo hits ~4.1s to paint, while server render paints at 1.7s and becomes interactive at 3.2s; on a Moto G4 client render is ~13s versus streaming paint ~3.3s and interactive ~9.6s. The approach uses server chunk rendering, requires aggressive intra-page code-splitting for CSS/JS, tolerates slow APIs and maps to emerging react 16 streaming renderer capabilities.

AI-written summary · about

  1. 0:00Intro
  2. 0:45Performance
  3. 3:22Client Rendering
  4. 7:08Server Rendering
  5. 11:12Downsides
  6. 13:03Uncanny Valley
  7. 14:32HTML Streaming
  8. 17:33Chunk Rendering Walkthrough
  9. 19:34Code Walkthrough
  10. 23:16Pros and Cons
  11. 25:16Lessons
~/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.