Dev Tools · 1h ago
Linaria maintainer builds dx-styles to fix CSS-in-JS pain points
After six years maintaining Linaria, Anton Evzhakov built dx-styles to address two persistent issues: styled component interpolation causing build-time leaks, and lack of first-class support for variants and themes. The new library aims to provide typed styles and tokens for zero-runtime CSS-in-JS, learning from Linaria and MUI's Pigment CSS. dx-styles prioritizes static evaluation for faster builds, though some processors still require JS fallback.
Meridian48 take
Evzhakov's move from maintaining a popular library to building a new one signals that even mature zero-runtime CSS-in-JS tools have fundamental design trade-offs that can't be patched.
Read the full reporting
I've maintained Linaria for six years. Here's why I built something new →
DEV Community
css-in-jszero-runtime