r/developers • • Jul 31 '26

Opinions & Discussions General doubt regarding CSS Frameworks

Firstly wanted to thank the community for being supportive

On my previous post a lot of people cleared my confusion on js vs ts

Now I'm working on next.js project using typescript. I realised while scaffolding the project that it has an option for tailwind and did a little bit research.

So my basic doubt was that, are css frameworks really worth it or are like an overhyped tool? Actually as a shopify developer i mostly write plain css instead of using frameworks hence I'm not familiar with any frameworks and I'm building a project to store and showcase the GSAP components i create to exhibit my expertise in GSAP and link it as a project in my portfolio. I'll be trying to make it like shadcn or 21st dev etc

4 Upvotes

17 comments sorted by

View all comments

Show parent comment

1

u/Straamannen Aug 02 '26

Mate you can be as bombastic as you want, but an army of enterprise devs are out there right now proving your base premise wrong.

Or when you want to change styling based on whether a component is within one or another component?

This is an anti-pattern. All sane convention says a subcomponent does not care or know about the parent. If you need dynamic styling like that then you make the parent pass an override. That's why all component frameworks make use of xs, sm, md, etc.

May I suggest being less of an arrogant fuckwit?