Skip to content

standard

CSS Modules

A specification and build-tool convention for locally scoped CSS class names imported into JavaScript modules.

Current clusters

build1 publisher

GitHub cut server-side render time 55% by moving Primer off runtime CSS-in-JS

GitHub says moving every Primer component from runtime CSS-in-JS to CSS Modules cut server-side render time by 55% and component initialization by 25%. The figures come from GitHub's own pages without baselines, so they hold elsewhere only where styling work grows with component count as it did at GitHub.

Publishers:github.blog

Reality

Evidence40
Adoption55
Hype gap+10
Incentives40
Confidence45