want opinion on styling with component libraries
hey folks I have a doubt with component library such as mui, chakra-ui we can define styles like this
and these styles doesn't count as the inline style instead for every component we use a new className is automatically generated and there these styles are added so we still need to use separate CSS file
I have seen some projects made with them and they use separate CSS file very little most of the styling is done as shown in the code
also these libraries are SSR ready so we don't have to worry to put CSS in a seperate file so they get server side rendered
0 Replies