~/talk

Zero-runtime CSS-in-TypeScript with vanilla-extract

Talkat React Finland 2021 · 2021-08-30..09-03· [typescript, css]
slides:none on file

Claims that vanilla-extract produces real static CSS files from .css.ts files with zero runtime cost are demonstrated: a webpack plugin compiles TypeScript styles at build time, emits hashed class names and variables, and updates the page in the demo. The demo shows type safe theme vars, style variants, an atoms/sprinkles system for reusable atomic classes, responsive breakpoints and dark mode, and a working build-time → runtime lookup with no extra runtime stylesheet engine.

AI-written summary · about

  1. 0:00Start
  2. 3:59Css Variables
  3. 5:39Hashed Variables
  4. 6:53Style Variant
  5. 14:19Target Light Mode and Dark Mode
  6. 17:27Css Variables Dynamic
  7. 18:31Performance
  8. 21:23Where Do You See Uh Css and Ts Heading in Next Few Years
  9. 25:08Will Vanilla Extract Support Css Collocation or Placing Styles in the Same Component
~/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.