Greg pfp
Greg
@greg
frontend devs - what do you use for styling? so many options and I switch between them too often, would be good to standardize. - framework like tailwind - styled components - normal css files - css modules - styled jsx - ??
37 replies
0 recast
0 reaction

steph 🧾 pfp
steph 🧾
@steph
scss modules ftw 🎉 scoped/modular styling but with a global stylesheet for variables, mixins, etc
1 reply
0 recast
0 reaction

Greg pfp
Greg
@greg
The only thing I don't like about modules is so many more files! How do you organize everything? components/ -- button/ -- button.tsx -- button.module.scss or something else?
1 reply
0 recast
0 reaction

steph 🧾 pfp
steph 🧾
@steph
It's a trade-off for sure! More files can be annoying, but (at scale) reducing the risk of unintentionally influencing other parts of your app is a major bonus. + I like keeping those tsx/js files clean for the most part.
1 reply
0 recast
0 reaction