Re:Forking Styled Components
by blabla1224 on Tuesday September 23, 2025 @09:10AM
(#45346526)
For the rich SPA, styled-components is one of the best things that happened to the Web (CSS-in-JS)
[ Parent
| on HN ]
One of the main "problems" we solved with adopting styled-components back in 2016 was styles colocation where more junior members managed to create a several thousand line CSS file with a mess of selectors which we couldn't safely figure out which is used where.
My current plan is to transition to CSS Modules which should allow preserving most (if not all) of the current styled-components DX and advantages.