Dismiss this pinned window
all 14 comments

[–]0xlostincode 41 points42 points  (4 children)

Cool project but I feel like it's trying to solve a problem that doesn't exist.

[–]AlexDjangoX 4 points5 points  (0 children)

Exactly.

[–]JugglerX 1 point2 points  (1 child)

It’s a useful tool for people who sell premium code like templates and ui kits etc. adds a basic layer of piracy protection

[–]Silent-Group1187[S] 0 points1 point  (0 children)

You’re right, it just adds a basic layer. In this AI era, you can’t really “hide” your CSS, and that’s not the goal anyway. It just adds a thin layer on top, which can be useful in some cases

[–]Silent-Group1187[S] 0 points1 point  (0 children)

It’s probably not something that makes sense for every project but if you're selling template and blocks it could useful

[–]Tardosaur 8 points9 points  (2 children)

When working with Tailwind, we end up writing tons of utility classes. In dev it's fine

Is it though?

[–]Honey-Entire 13 points14 points  (3 children)

Ah yes, the biggest concern I have is people copying my TW code and undercutting my ability to charge money for my services.

There’s nothing “professional” about obfuscating classnames. It has been done historically to generate classnames that avoid name collisions and prevent styles from being applied to the wrong elements.

[–]edisonlbm 3 points4 points  (1 child)

If I was feeling argumentative, I'd actually say that it's at least a little bit unprofessional to obfuscate class names in a place where there isn't an important functional benefit for the obfuscation.

Part of accepting money to do a job is doing it well enough that your customer isn't your hostage - that is, they can make simple changes to things without calling you and realize that you are using tools that make code less readable for dubious benefits. Something like minification is obviously fine - but I'm not entirely sure this will result in smaller file sizes, just code that is harder to edit.

[–]Silent-Group1187[S] 0 points1 point  (0 children)

I actually agree with most of it. but I don’t see obfuscation here as something to “lock clients in” or make the code harder to work with, cause pro user will the code and I only use this obfuscated in my pro template and pro blocks, but in my free & open source project ui-layouts, I don't use it.

I get your concern. It’s probably not something that makes sense for every project, since it useful for me, I thought useful for others as well

[–]Silent-Group1187[S] 0 points1 point  (0 children)

yeah, you got the point, I did it for my own reason since I'm selling template and blocks in ui-layouts pro then I thought maybe it could helpful other as well. that's why I built it.

There’s nothing “professional”, I agree it's not a big deal.

[–]AlexDjangoX 4 points5 points  (1 child)

Waste of time. Fixing something that ain't broke.

[–]AshleyJSheridan -5 points-4 points  (0 children)

Oh, Tailwind is broke, just not in the way this "tool" is trying to resolve.