GitHub Ditches CSS-in-JS for CSS Modules, Reports 55% Faster SSR
Comments on “GitHub Ditches CSS-in-JS for CSS Modules, Reports 55% Faster SSR”
Claim-checked. Scored by all three judges, and its checkable claims were compared with the sources it cites. How far stories are checked
GitHub's engineering team, through Primer engineers Josh Black and Marie Lucca, describes moving github.com from styled-components CSS-in-JS to CSS Modules over three years, reporting a 55% cut in server-side rendering time and 25% faster component initialisation.
Why it ranked
No. 105 of 143 with a score of 0.59. The panel rated it highest on new information (0.89) and reader interest (0.82), lowest on significance (0.59). The claim check took 0.100 off. Placed No. 105, No. 96 by score alone: the 15th Programming & dev tools story of the day (−0.080). The placement terms move stories; they are not part of the score.
- AI judgeJudge 2claude-haiku-5-5
- Detailed engineering write-up of a large-scale CSS migration with concrete performance numbers and practical lessons for frontend builders; claims are company-reported and partly anecdotal from HN, with limited independent verification.
- AI judgeJudge 3gpt-5.6-luna
- A well-supported engineering account of a large CSS-in-JS migration, with concrete performance results, migration mechanics, tooling, rollout strategy, and tradeoffs directly useful to teams maintaining React design systems.
Each judge wrote its line after answering the rubric, with the site and the author still hidden. Every answer behind this is in the table under Score.
Score
0.59total under rubric v2.3
- Significance0.59
- Reader interest0.82
- Audience breadth0.63
- Practical relevance0.79
- Substantiated0.77
- Technical depth0.77
- New information0.89
- Counts against: Promotional0.08
- Counts against: Overclaim0.27
Each judge’s answer per question (0–1), their mean and spread, and what the question adds to the score (weight × mean).
| Question | Judge 1 | Judge 2 | Judge 3 | Mean | Spread | Weight | Contribution (weight times mean) |
|---|---|---|---|---|---|---|---|
| SignificanceHow much does this change what people in tech know or can do? | 0.69 | 0.40 | 0.67 | 0.59 | 0.29 | +0.24 | +0.141 |
| Reader interestWould a well-informed senior engineer or tech founder want to read this today, and likely pass it on? | 0.76 | 0.80 | 0.90 | 0.82 | 0.14 | +0.26 | +0.213 |
| Audience breadthHow many people who build technology does it concern? | 0.56 | 0.60 | 0.72 | 0.63 | 0.16 | +0.13 | +0.082 |
| Practical relevanceHow useful is it to someone who builds software or tech products? | 0.85 | 0.70 | 0.82 | 0.79 | 0.15 | +0.22 | +0.174 |
| SubstantiatedHow well is it backed? Consider whether it is the primary source, and whether its main claims come with data, code, a demo, a reproducible method or citations. | 0.82 | 0.70 | 0.78 | 0.77 | 0.12 | +0.05 | +0.038 |
| Technical depthHow technically substantive is it? | 0.79 | 0.75 | 0.76 | 0.77 | 0.04 | +0.05 | +0.038 |
| New informationDoes it contain information absent from the stories covered in the last 7 days (list provided)? | 0.86 | 0.85 | 0.96 | 0.89 | 0.11 | +0.05 | +0.045 |
| PromotionalIs it mainly marketing with little substance (a press release, ad or sponsored post with no real information)? A launch post that carries real news is not promotional. | 0.09 | 0.10 | 0.06 | 0.08 | 0.04 | −0.19 | −0.016 |
| OverclaimDo the headline or conclusions claim more than the body supports? | 0.49 | 0.20 | 0.12 | 0.27 | 0.37 | −0.11 | −0.030 |
| Sum of contributions | +0.685 | ||||||
| Claim-check penalty | −0.100 | ||||||
| Total, as published | 0.585 | ||||||
Spread is the highest minus the lowest judge answer. marks a spread above 0.40: the judges disagree, and the story is marked contested.
The badge for this ranking, for the author's page or anyone's: one line of HTML, and it links back here.
<a href="https://rubric.hrih.si/editions/2026-12-02/105/"><img src="https://rubric.hrih.si/badge/2026-12-02/105.svg" alt="Ranked #105 on Rubric, 2 Dec 2026" width="245" height="28"></a>Claim check
Claim check: 7 matches source · 1 differs from source. Each claim is compared with the source the article itself cites; a flag is published only when both checkers agree.
Matches sourceNumber
GitHub reported a 55% reduction in server-side rendering time and 25% faster component initialisation after moving github.com from CSS-in-JS to CSS Modules.
The cited source says the same thing.
The article says “reporting a 55% reduction in server-side rendering time and 25% faster component initialisation across its Primer-powered design system”
The source says “By December 2024, all components in Primer were migrated over to CSS Modules using this process. We saw performance wins across the board, in particular: - 55% less time to…”
Source cited by the article: github.blog/engineering/architecture-optimization/improving-site-performance-by-shipping-more-css
Matches sourceCausal conclusion
Component counts on certain GitHub pages began to explode in 2023, exposing scaling problems with the styled-components setup.
The cited source says the same thing.
The article says “component counts on certain pages began to explode in 2023, exposing scaling problems with the existing styled-components setup”
The source says “Back in 2023, the number of components on certain pages began to explode. This led to several performance-related challenges with our existing CSS-in-JS solution”
Source cited by the article: github.blog/engineering/architecture-optimization/improving-site-performance-by-shipping-more-css
Matches sourceDate
By December 2024, Primer itself was fully on CSS Modules.
The cited source says the same thing.
The article says “By December 2024, Primer itself was fully on CSS Modules”
The source says “By December 2024, all components in Primer were migrated over to CSS Modules using this process”
Source cited by the article: github.blog/engineering/architecture-optimization/improving-site-performance-by-shipping-more-css
Matches sourceNumber
There were roughly 7,760 sx prop usages across github.com.
The cited source says the same thing.
The article says “roughly 7,760 sx prop usages scattered across github.com”
The source says “The work kicked off April 2025 with a peak of ~7,760 sxprops to be migrated”
Source cited by the article: github.blog/engineering/architecture-optimization/improving-site-performance-by-shipping-more-css
Differs from sourceNumber
A rotation of eight engineers migrated 6,419 props over six months, with SSR improvements ranging from 3% up to 22% per page.
The cited source says something else; both quotes are shown.
The article says “A rotation of eight engineers migrated 6,419 props over six months, seeing SSR improvements ranging from 3% up to 22% per page”
The source says “A rotation of 8 engineers migrated 6,419 props over the course of 6 months, observing Server-Side Rendering time performance gains ranging from 1% up to 22% in some pages”
Source cited by the article: github.blog/engineering/architecture-optimization/improving-site-performance-by-shipping-more-css
Matches sourceNumber
The final 895 props were cleared in three weeks by two engineers leaning heavily on Copilot coding agents.
The cited source says the same thing.
The article says “The final 895 props were cleared in three weeks by two engineers leaning heavily on Copilot coding agents”
The source says “we were able to get down from 895 to 0 sxprops in the span of three weeks with a team of two engineers, relentless determination, and a whole lot of…”
Source cited by the article: github.blog/engineering/architecture-optimization/improving-site-performance-by-shipping-more-css
Matches sourceNumber
Linear completed a 1,000-PR move from styled-components to StyleX, citing render-time concerns after upgrading to React 18's concurrent mode.
The cited source says the same thing.
The article says “recently completed its own 1,000-PR move from styled-components to Meta's atomic StyleX library, citing similar render-time concerns after upgrading to React 18's concurrent mode”
The source says “more than a 1,000 PRs later, we migrated Linear’s React applications from styled-components to StyleX”
Source cited by the article: linear.app/now/styling-linear-for-the-future-stylex
Matches sourceNumber
A Hacker News commenter running a similar migration reported a 30% build time speed improvement and better tree shaking on Next.js across a codebase over 1M lines.
The cited source says the same thing.
The article says “one commenter running a similar migration reported a 30% build time speed improvement and much better tree shaking on Next.js across a codebase over 1M lines”
The source says “We migrated a >1M LOC codebase to CSS Modules from VE for a ~30% build time speed improvement and much better tree shaking on Next.js”
Source cited by the article: news.ycombinator.com/item
Also covered by
No other coverage was clustered with this story.
Elsewhere
Elsewhere: HN 4 pts, not on front page
Recorded for context only, checked 2 Dec 2026, 05:47 UTC. It played no part in the ranking.