Anyone using vanilla CSS with React?
I struggle to find a professional example of a React website that uses external CSS. Would love to see _one_!
I struggle to find a professional example of a React website that uses external CSS. Would love to see _one_!
Have you tried looking at web apps? My experience as a software engineer working mostly on web uis has been with (s)css modules and only recently with css-in-js. When working on large, complex projects we’ve always steered away from atomic css solutions like tailwind with the long lists of class names being difficult to maintain, awkward syntax, and subpar theming being the main reasons for it. Personally I go for pandacss which imo strikes a nice balance between atomic styles, type safety, and ergonomics. Still stirs away from web standards though
Do you mean 100% external CSS, or just any external? Because I've definitely seen teams implement the design system as external CSS, then adjust at the component level within the code. I've done 100% external CSS on private app with a few hundred users, but nothing public. I currently have a side project that uses React for content management, and builds static HTML with external CSS via an SSG for publishing.
So... it happens. But I use SPAs for internal apps, not public web sites, so despite my knowing such things exist, I got no links to share.