Skip to main content
AmigoFish

1035: Why everyone is moving to Stylex?

From Syntax - Tasty Web Development Treats · · 26 min

This plays from the publisher's own server. We do not host a copy.

Open at the source

Not rated yet

Description

Meta’s StyleX compiles thousands of styles into a few reusable class names at build time—zero runtime, fully type-safe. Scott and Wes break down why it’s suddenly everywhere, and why it might be the best CSS tool for AI agents.

Show Notes

- 00:00 Welcome to Syntax!

- Syntax Ep 650 (https://syntax.fm/show/650/why-is-facebook-s-html-css-such-a-mess/transcript)

- San Francisco Syntax Meetup (https://luma.com/5ng6bniy)

- 02:18 What Is StyleX (https://stylexjs.com/) and How Does It Work?

- 04:27 The Difference Between StyleX and Other CSS Scoping Methods

- 06:03 What People Are Saying: StyleX Is Superior for AI Agents

- Jared Palmer (https://x.com/jaredpalmer/status/2091907378488680582)

- Adam Hutchinson (https://x.com/adjohu/status/2066859767461478831)

- Aiden Bai (https://x.com/aidenybai/status/2092021888642085254)

- Syntax Ep 658 (https://syntax.fm/show/658/supper-club-make-react-70-faster-million-js-with-18-year-old-aiden-bai)

- 11:30 Type Safety and Design System Constraints

- 12:46 No Runtime Dependency: All Computed at Build Time

- 13:49 Brought to you by Sentry.io (https://sentry.io/syntax/)

- 14:13 Reusable Styles: Import, Export, and Auto-Import

- 17:53 Composability and Overriding Styles With JavaScript Objects

- 18:24 It Sucks to Write by Hand

- 19:25 Modern CSS Properties and Waiting for Implementation

- 20:58 Nested CSS and Nested Selectors Are Tricky

- 22:24 Alternatives: Panda CSS (https://panda-css.com/) and CSS Modules

- Syntax Ep 807 (https://syntax.fm/show/807/css-components-tailwind-panda-scoped-modules-classes-variables-css-in-js-and-sprinkles)

- 24:41 The Auto-Complete Experience: Why StyleX Shines for Agents

Hit us up on Socials!

Syntax: X (https://twitter.com/syntaxfm) Instagram (https://www.instagram.com/syntax_fm/) Tiktok (https://www.tiktok.com/@syntaxfm) LinkedIn (https://www.linkedin.com/company/96077407/admin/feed/posts/) Threads (https://www.threads.net/@syntax_fm)

Wes: X (https://twitter.com/wesbos) Instagram (https://www.instagram.com/wesbos/) Tiktok (https://www.tiktok.com/@wesbos) LinkedIn (https://www.linkedin.com/in/wesbos/) Threads (https://www.threads.net/@wesbos)

Scott: X (https://twitter.com/stolinski) Instagram (https://www.instagram.com/stolinski/) Tiktok (https://www.tiktok.com/@stolinski) LinkedIn (https://www.linkedin.com/in/stolinski/) Threads (https://www.threads.net/@stolinski)

Randy: X (https://twitter.com/randyrektor) Instagram (https://www.instagram.com/randyrektor/) YouTube (https://www.youtube.com/@randyrektor) Threads (https://www.threads.net/@randyrektor)

Back to Syntax - Tasty Web Development Treats · Report a problem