You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that some people wants classNames() or clsx() only when it has conditional branchings (like ternary expressions), as it's just a pure overhead to always joining classes at runtime.
Things to consider
Should it be a new rule? or just an option for existing prefer-classnames-function rule?
The text was updated successfully, but these errors were encountered:
It seems that some people wants
classNames()
orclsx()
only when it has conditional branchings (like ternary expressions), as it's just a pure overhead to always joining classes at runtime.Things to consider
prefer-classnames-function
rule?The text was updated successfully, but these errors were encountered: