Re:StyleX – Meta's styling library
by willsmith72 on Wednesday December 06, 2023 @09:23AM
(#38544233)
> Great reason this beats MUI.
Not at all, mui gives you the option to do either.
I don't want my style library being opinionated about my coding style.
Re:StyleX – Meta's styling library
by cantSpellSober on Wednesday December 06, 2023 @11:45AM
(#38546268)
Ohh I see, I honestly didn't click the first time. You meant sx in MUI, not StyleX. We're gonna need more names.
Not trying to hate on atomic CSS, we've had composable classes and style tokens for a long time, they work well. Even one of the devs on this project commented on them here:
> We don't think the Tailwind way of styling is readable in the long term, but we see the value is being able to author that way
https://news.ycombinator.com/item?id=38540629
The docs here mention the downsides though.