TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Anyone using vanilla CSS with React?

1 pointsby tipiirai9 days ago
I struggle to find a professional example of a React website that uses external CSS. Would love to see _one_!

3 comments

tyleoabout 3 hours ago
I’m doing it on my personal site, tyleo.com.<p>This question comes up enough that I’m writing a guide on it now.<p>I don’t use any CSS framework except CSS modules. I was going to write the guide without module support and add a section about it near the bottom.<p>There’s some really simple patterns you can follow with built-in JS features to make this easier.
gxvxc9 days 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
codingdave9 days ago
Do you mean 100% external CSS, or just any external? Because I&#x27;ve definitely seen teams implement the design system as external CSS, then adjust at the component level within the code. I&#x27;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.<p>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.