Linear Completes 1,000-PR Migration From styled-components to Meta's StyleX
Linear has moved its React applications from styled-components to StyleX, Meta's atomic CSS-in-JS library, in a migration spanning more than 1,000 pull requests over roughly five months. The switch cut main-thread work by 20–35% on view-heavy pages and sped up navigation by about 30% on a mid-tier machine.
- Migration took about five months and over 1,000 pull requests
- A deterministic codemod covered 500+ PRs and ~100,000 lines
- 20–35% less main-thread work on view-heavy pages
- Navigation about 30% faster on a mid-tier machine
Read next
Software