GitHub migrates Primer off CSS-in-JS to CSS Modules
GitHub reports a 55 percent reduction in server-side rendering time and faster component initialization after completing a three-year migration off styled-components and onto CSS Modules for its Primer design system. The transition involved adding CSS Modules variants for all components behind feature flags, using a transitional package for sx prop usages, and deploying coding agents to clear final prop conversions. Open article →