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 wouldn’t show up with false, so here !!someOtherThing is evaluating to true. And “undefined” is always a string when used as a key name. See #40 for more explanation — it’s native JS and is due to the [undefined]: true syntax
Is there any plans for supporting this use case?
Will return
undefined
which is unwanted.Im using clsx in a React.js solution with CSS Modules like this:
In this case
someOtherThing
can be undefined or null and since i am doing!!someOtherThing
then clsx should never return the "undefined" value.The text was updated successfully, but these errors were encountered: