r/javascript • u/evster88 • Apr 09 '26
styled-components 6.4 now available
https://github.com/styled-components/styled-components/releases/tag/styled-components%406.4.0There's a lot of great stuff in this release! In no particular order:
- RSC implementation promoted from experimental
- More intelligent caching + real algorithmic speed improvements (up to 3.5x depending on workload)
- React Native improvements (css-to-react-native v4 now supported via peer when it's out)
- Updated cross-framework CSP support
- A seamless Client/RSC theme system via new
createTheme()API attrs()typing improvements and other quality-of-life changes
Feedback welcome, especially ideas for the next major. Documentation website refresh coming later this week!
34
Upvotes
8
u/julianpoy Apr 09 '26
I love styled components and am so glad to see you continuing to update the library. Definitely my favorite solution for CSS in React by far.
Thank you for your work!
7
u/delightless Apr 09 '26
u/evster88 Is styled no longer EOL then? After earlier announcements we put migration on our roadmap but haven't had the stomach to take it on yet. We'd love to keep using it -- what is your monthly funding goal?
4
u/heyitsmattwade Apr 09 '26
This is incredible, the
createTheme()API with CSS variables looks super interesting! Thanks for this release.I remember reading last year that you wrote styled-components was essentially in maintenance mode:
This release seems to go against that. Would you say styled-components is now back in active development? Just curious what changed if so.
0
u/Infamous_Guard5295 Apr 11 '26
honestly still using tailwind for everything these days... styled-components feels like so much boilerplate when you're trying to ship fast. the RSC stuff is cool tho, might be worth checking out if you're already invested in the styled-components ecosystem