~/talk

Pigment CSS, CSS in the server component age

Talkat React Conf 2024 · 2024-05-15..05-16· [react, css]
slides:none on file

Pigment CSS is a new CSS-in-JS that targets server components by shipping no runtime by default with a fork of Linaria and a Rust-powered bundler integration that transpiles styles to CSS modules files. It keeps an emotion-like API with an Sx prop, aims for granular style loading and atomic classes later, and reports runtime performance roughly two times faster than the current MUI v5/emotion setup while avoiding the 14% re-render cost tied to generating emotion styles. It’s alpha and planned for MUI v6.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:45Challenges with current CSS libraries
  3. 4:11React Server Components and CSS limitations
  4. 4:54Key properties for modern CSS solutions
  5. 8:25Introducing Pigment CSS
  6. 10:10Pigment CSS design and performance
  7. 11:33Pigment CSS status and future
~/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.