~/talk

React Complier

Talkat React Conf 2024 · 2024-05-15..05-16· [react, compilers-and-language-design]
slides:none on file

A compiler transforms React components into a control‑flow/data‑flow graph and applies optimizations like dead code elimination, constant propagation, type inference and alias analysis so only minimal UI parts re-render. It treats setState functions don't change so dependencies get removed, avoiding manual memoization; e.g., a playlist no longer recomputes when the songs array is unchanged. Meta runs this in production since early last year with measurable speedups, delivering fine grained reactivity without changing existing React code.

AI-written summary · about

~/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.