~/lightning

Speeding up React SSR

Lightningat React Amsterdam 2019 · 2019-04-10..04-12· [react, web-performance, nodejs]
slides:none on file

Claims a simple drop-in change (ESX template strings) turns React SSR from tree build + serialize into a flattened string pipeline and shows it working with an AutoCannon benchmark (228 → 795 req/s in the demo, ~330% higher throughput, ~75% lower latency, ~25% more requests/sec in another run). Implementation details: Node preload flag that rewrites JSX, and an upcoming Babel plugin and browser transpiler. Demo code and numbers live on the github org; optimization gains scale with HTML node count.

AI-written summary · about

  1. 0:00Start
  2. 0:56Demo
  3. 3:54Template Strings
  4. 6:00Flattened Tree
~/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.