css
overload type purpose?
#372
Labels
customization: css
Design CSS customizability
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
Steps to reproduce
use
css
Current behavior
N/A
Expected behavior
N/A
Context
The
css
function has the following overload:I cannot imagine a use-case utilizing the n-ary case for
css
There is no value gain over the unary case 🤔
If anything, I would argue that this support is harmful, promoting creation of silly patterns like this:
promoting a classname explosion instead of composition.
I would expect that the n-ary case would function like this:
similar to
clsx
basically but that would accept everything.What is the rational behind the n-ary
css
function?Your environment
N/A
Search keywords: css method types overload arguments
The text was updated successfully, but these errors were encountered: