Cn utility optimization #7622
master8848
started this conversation in
General
Replies: 1 comment
-
He is leaking the project code 👀 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://github.com/dcastil/tailwind-merge/blob/v3.3.1/docs/when-and-how-to-use-it.md#reasons-not-to-use-it
as provided on description shadcn does use tailwind merge as exclusive solition to all problems and this could be little optimized In my opinion
this is solution i came up with for my project so use would be like
considring className is comming form parent component
Beta Was this translation helpful? Give feedback.
All reactions