~/talk

The Superpower of ASTs: How We Saved 16% on Our Bundle Size

watch on portal.gitnation.org ↗https://portal.gitnation.org/contents/the-superpower-of-asts-how-we-saved-16percent-on-our-bundle-size
Talkat React Day Berlin 2024 · on Monday, 2024-12-16· at 17:35· [javascript, web-performance, developer-experience]

Explains how Abstract Syntax Trees (ASTs) were used to inline constant objects into their call sites to reduce output bundle size by 16%, a result that even improved on Webpack/Terser tree-shaking. Covers what ASTs are, practical techniques and best practices for manipulating them, common challenges and how to avoid a specific pitfall encountered when working with AST transformations.

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.