News for hackers. Stuff that matters.
Re:How to start a React Project in 2023 by perk on Friday March 24, 2023 @04:30AM (#35286482)
Personally I suck at CSS and avoid writing it like the plague, even after 20+ years of doing it.

I use TailwindCSS [1] for all my styling needs and couldn't be happier.

If you really want scoped CSS in React this approach [2] can also work, and it makes it easy to use tailwind if you want.

[1] https://tailwindcss.com

[2] https://miyauchi.dev/posts/lib-vite-tailwindcss/#css-modules

There are no comments on this comment yet.