# GitHub Ditches CSS-in-JS for CSS Modules, Reports 55% Faster SSR After Three-Year Migration

Source: [InfoQ](https://www.infoq.com/news/2026/11/github-css-migration/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global) · 2026-11-25 · Cloud & DevOps
Page: https://themorning.dev/story/github-ditches-css-in-js-for-css-modules-reports-55-faster-ssr-after-three-year-7359ca2864209b78
Kind: other · Impact: medium

## In brief

- GitHub migrated github.com from styled-components to CSS Modules over three years.
- The migration reportedly cut server-side rendering time by 55% and component initialisation time by 25%.
- Primer components were converted behind feature flags, and about 7,760 sx prop usages were migrated.

## Why it matters

It is a large, production-scale example that removing runtime CSS-in-JS can produce measurable server-side rendering gains, which matters for teams weighing styling costs.

## Coverage

- [GitHub Ditches CSS-in-JS for CSS Modules, Reports 55% Faster SSR After Three-Year Migration](https://www.infoq.com/news/2026/11/github-css-migration/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global) — InfoQ, 2026-11-25

Tags: css, css-in-js, css-modules, ssr, performance, github

---

Brief generated by AI (claude-haiku-5-5) from the reporting listed under Coverage. Headlines belong to their publishers. The Morning Dev – https://themorning.dev
