Anyone using vanilla CSS with React?

1 pointsposted 19 hours ago
by tipiirai

Item id: 43941927

2 Comments

gxvxc

14 hours ago

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

codingdave

18 hours ago

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.