~/talk

CSS-in-JS

Talkat ReactConf AU 2020 · 2020-02-27..02-28· [css, javascript]
slides:none on file

CSS-in-JS libraries bind CSS to components so styles hash to unique class names, get removed when components are deleted, and let server render only critical CSS for each page. The ecosystem timeline shows Aphrodite introducing critical CSS extraction, Emotion v10 adding the CSS prop API, and Stylus tooling that cuts bundle size by ~90%. Atomic and inline approaches (styletron, Glamorous, Radium) trade output size and features; advice is: prototype, iterate for API and performance, and document everything.

AI-written summary · about

  1. 0:00Introduction
  2. 3:23CSS NGS
  3. 14:45Style Components
  4. 19:15Styling React Apps
  5. 19:54Tips
~/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.