<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/linear-completes-1-000-pr-migration-from-styled-components-to-meta-s-stylex-twjve9pqu" -->

---
title: Linear Completes 1,000-PR Migration From...
description: Linear finished migrating its React codebase from styled-components to Meta's StyleX after roughly five months and over 1,000 pull requests. The move was...
canonical: https://daily.dev/posts/linear-completes-1-000-pr-migration-from-styled-components-to-meta-s-stylex-twjve9pqu
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Linear Completes 1,000-PR Migration From styled-components to Meta's StyleX | daily.dev
og:description: Linear finished migrating its React codebase from styled-components to Meta's StyleX after roughly five months and over 1,000 pull requests. The move was...
og:url: https://daily.dev/posts/linear-completes-1-000-pr-migration-from-styled-components-to-meta-s-stylex-twjve9pqu
og:image: https://api.daily.dev/og/posts/TwJvE9pQU.png
og:image:alt: Linear Completes 1,000-PR Migration From styled-components to Meta's StyleX
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Linear Completes 1,000-PR Migration From styled-components to Meta's StyleX

**[InfoQ](https://daily.dev/sources/infoq)** · 3 min read · 14 upvotes · 4 comments

## Summary

Linear finished migrating its React codebase from styled-components to Meta's StyleX after roughly five months and over 1,000 pull requests. The move was driven by runtime CSS-in-JS costs surfacing after adopting React 18 concurrent rendering, plus a desire for stricter component encapsulation as coding agents touch more of the codebase. Engineer Kenneth Skovhus built a deterministic codemod (500+ PRs, ~100,000 lines) with a public playground rather than migrating by hand. Results: 20-35% less main-thread work on view-heavy pages, about 30% faster navigation on mid-tier hardware, and zero CSS rules injected during page changes. The piece also covers a broader StyleX surge (Cursor dropping Tailwind, Meta open-sourcing Astryx), commentary that StyleX's rigidity suits AI agents better than humans, and community criticism of StyleX's restrictive styling guidelines.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.infoq.com/news/2026/09/linear-stylex-meta>

## Questions this post answers

### Why did Linear migrate from styled-components to StyleX?

Linear migrated because runtime CSS-in-JS was costing performance after the team adopted React 18 concurrent rendering, and because styled-components patterns like styled(Button) made components too easy to restyle from outside, undermining encapsulation as coding agents touched more of the codebase. StyleX moves style generation to build time and emits collision-free atomic classes, eliminating runtime style injection.

_Teams weighing CSS-in-JS trade-offs can compare styled-components and StyleX experiences on daily.dev._

### What performance gains did Linear see after switching to StyleX?

Linear measured 20 to 35 percent less main-thread work on view-heavy pages, about 30 percent faster navigation on a mid-tier machine, and zero CSS rules injected during a page change after completing its migration from styled-components to StyleX across more than 1,000 pull requests over roughly five months.

_Developers evaluating a StyleX migration can track real-world performance results like these on daily.dev._

### Is there a tool to automate migrating from styled-components to StyleX?

Yes, engineer Kenneth Skovhus built a deterministic codemod for converting styled-components code to StyleX, which has handled over 500 pull requests and roughly 100,000 lines of code at Linear, and it includes a public online playground for testing conversions before applying them.

_Anyone planning a large-scale styling migration can follow codemod tooling updates like this on daily.dev._

## Community discussion

Top comments from developers on daily.dev.

**@apperside** · 0 upvotes

> It seems a lot of companies are migrating to StyleX: is the latter that  good or is it just an hype?

**@petecapecod** · 0 upvotes

> Nice it even had the Syntax FM quotes from Scott & Wes lol
>
> For sure it's awful to write by hand, but those llms need strong typing on pretty much everything so they don't screw up.

## Similar posts on daily.dev

- [Styling Linear for the future with StyleX](https://daily.dev/posts/styling-linear-for-the-future-with-stylex-qmtpzoc4t) · Reid Burke · 59 upvotes · 4 comments
- [Tailwind CSS vs. StyleX: A real migration with 20 components](https://daily.dev/posts/tailwind-css-vs-stylex-a-real-migration-with-20-components-pwvpzivec) · LogRocket · 72 upvotes · 13 comments
- [StyleX vs. Tailwind: Meta’s Take on CSS-in-JS Maintainability](https://daily.dev/posts/stylex-vs-tailwind-meta-s-take-on-css-in-js-maintainability-zmx1lbhkz) · The New Stack · 1 upvotes · 1 comments

---

Tags: [#css](https://daily.dev/tags/css), [#react](https://daily.dev/tags/react), [#styled-components](https://daily.dev/tags/styled-components)

[View this post on daily.dev](https://daily.dev/posts/linear-completes-1-000-pr-migration-from-styled-components-to-meta-s-stylex-twjve9pqu)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Linear Completes 1,000-PR Migration From styled-components to Meta's StyleX","url":"https://daily.dev/posts/linear-completes-1-000-pr-migration-from-styled-components-to-meta-s-stylex-twjve9pqu","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/linear-completes-1-000-pr-migration-from-styled-components-to-meta-s-stylex-twjve9pqu"},"datePublished":"2026-09-28T06:43:50.114Z","dateModified":"2026-10-15T02:22:39.893Z","description":"Linear finished migrating its React codebase from styled-components to Meta's StyleX after roughly five months and over 1,000 pull requests. The move was...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/03363d074da6528da4362c2481022546?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/03363d074da6528da4362c2481022546?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"InfoQ","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"InfoQ","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/afc3bced3e1e4b188dd9127017a60e0c","url":"https://daily.dev/sources/infoq"},"commentCount":4,"discussionUrl":"https://daily.dev/posts/linear-completes-1-000-pr-migration-from-styled-components-to-meta-s-stylex-twjve9pqu","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":14},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":4}],"keywords":"css,react,styled-components","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"InfoQ","item":"https://daily.dev/sources/infoq"},{"@type":"ListItem","position":3,"name":"Linear Completes 1,000-PR Migration From styled-components to Meta's StyleX"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/linear-completes-1-000-pr-migration-from-styled-components-to-meta-s-stylex-twjve9pqu","comment":[{"@type":"Comment","text":"It seems a lot of companies are migrating to StyleX: is the latter that  good or is it just an hype?","datePublished":"2026-09-28T08:48:29.658Z","url":"https://daily.dev/posts/TwJvE9pQU#c-jJNh9yxK2","author":{"@type":"Person","name":"Apperside","url":"https://daily.dev/apperside","image":"https://avatars.githubusercontent.com/u/5955338?v=4"}},{"@type":"Comment","text":"Nice it even had the Syntax FM quotes from Scott \u0026amp; Wes lol\nFor sure it’s awful to write by hand, but those llms need strong typing on pretty much everything so they don’t screw up.","datePublished":"2026-09-29T11:49:38.856Z","url":"https://daily.dev/posts/TwJvE9pQU#c-glXcrv8fz","author":{"@type":"Person","name":"Peter Cruckshank","url":"https://daily.dev/petecapecod","image":"https://media.daily.dev/image/upload/s--ZJhQyKws--/f_auto/v1721235024/avatars/avatar_A9xh33q0QoxtkGoJRCosp"}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/linear-completes-1-000-pr-migration-from-styled-components-to-meta-s-stylex-twjve9pqu#faq","mainEntity":[{"@type":"Question","name":"Why did Linear migrate from styled-components to StyleX?","acceptedAnswer":{"@type":"Answer","text":"Linear migrated because runtime CSS-in-JS was costing performance after the team adopted React 18 concurrent rendering, and because styled-components patterns like styled(Button) made components too easy to restyle from outside, undermining encapsulation as coding agents touched more of the codebase. StyleX moves style generation to build time and emits collision-free atomic classes, eliminating runtime style injection. Teams weighing CSS-in-JS trade-offs can compare styled-components and StyleX experiences on daily.dev."}},{"@type":"Question","name":"What performance gains did Linear see after switching to StyleX?","acceptedAnswer":{"@type":"Answer","text":"Linear measured 20 to 35 percent less main-thread work on view-heavy pages, about 30 percent faster navigation on a mid-tier machine, and zero CSS rules injected during a page change after completing its migration from styled-components to StyleX across more than 1,000 pull requests over roughly five months. Developers evaluating a StyleX migration can track real-world performance results like these on daily.dev."}},{"@type":"Question","name":"Is there a tool to automate migrating from styled-components to StyleX?","acceptedAnswer":{"@type":"Answer","text":"Yes, engineer Kenneth Skovhus built a deterministic codemod for converting styled-components code to StyleX, which has handled over 500 pull requests and roughly 100,000 lines of code at Linear, and it includes a public online playground for testing conversions before applying them. Anyone planning a large-scale styling migration can follow codemod tooling updates like this on daily.dev."}}]}
```

