|
|
|
|
|
by willsmith72
921 days ago
|
|
e.g. using mui sx. the downside is the runtime performance cost https://mui.com/system/getting-started/usage/#performance-tr... i don't want to reuse or compose my styles, i just want to add alignSelf: 'flex-end' and then easily be able to change it and see the styles in one place, without leaving the component definition. the reusability and composition is at the component level |
|
Not trying to hate on atomic CSS, composable classes and style tokens are good. 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.