syntax question
LO
lokomass opened ·
Hi,
I'm confusing, why this line is working :
``` clsx( true && 'c2' ) ```
and this is not :
``` clsx( 'c2' && true ) ```
Thanks for help
A tiny (239B) utility for constructing `className` strings conditionally.
lokomass opened ·
Hi,
I'm confusing, why this line is working :
``` clsx( true && 'c2' ) ```
and this is not :
``` clsx( 'c2' && true ) ```
Thanks for help