← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

Linear Migrates React Applications from styled-components to Meta's StyleX

🔄 Updated 4d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Linear migrated from styled-components to StyleX over five months.
  • The migration involved over 1,000 pull requests.
  • Reasons included React 18 performance and encapsulation needs.
  • Performance gains include 20-35% less main-thread work and faster navigation.

Migration Completed

Linear, the project management tool, has finished migrating its React applications from styled-components to StyleX, Meta's atomic CSS-in-JS library. The migration, led by engineer Kenneth Skovhus, took approximately five months and involved more than 1,000 pull requests, concluding in early August 2026.

Motivation for the Switch

The primary reasons for the migration were performance and encapsulation. Linear experienced performance costs with runtime CSS-in-JS after upgrading to React 18's concurrent rendering, especially as styled-components entered maintenance mode. Additionally, the team sought to make it harder to restyle components externally, a concern amplified by the increasing use of coding agents, which StyleX's build-time style generation and atomic classes address.

Migration Process and Tools

Instead of manual migration, Skovhus developed a deterministic codemod, which has processed over 500 pull requests and approximately 100,000 lines of code. Linear considered vanilla-extract as an alternative but found its API fragmented. For other teams undertaking similar migrations, Linear suggests using StyleX documentation, Oxlint for custom rules, and CSS Modules as an escape hatch for global selectors.

Performance Improvements

The migration yielded significant performance benefits for Linear. The company reported a 20 to 35 percent reduction in main-thread work on view-heavy pages, approximately 30 percent faster navigation on mid-tier machines, and the elimination of CSS rule injection during page changes.

Industry Trend

Linear's move aligns with a broader trend of increased interest in StyleX, noted by publications like This Week in React. This surge follows Cursor's switch from Tailwind to StyleX and Meta's open-sourcing of its Astryx design system. Industry discussions, such as those on Syntax, suggest that while StyleX's rigidity might be less appealing for human developers, it is beneficial for coding agents.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~34 min · 27 stories · Oct 02

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Linear has completed the migration of its React applications from styled-components to Meta's StyleX after five months of work and over 1,000 pull requests. This change was driven by performance issues with runtime CSS-in-JS after upgrading to React 18 and a desire for stronger component encapsulation. The migration resulted in performance improvements, including reduced main-thread work and faster navigation.