Closed jorgebucaran closed 6 years ago
Classcat is orders of magnitude faster.
Also, classNames accepts a variable number of arguments whereas Classcat a single argument.
cc("foo", "bar", "baz") // => foo
To work around this, wrap the arguments inside an array.
cc(["foo", "bar", "baz"]) // => foo bar baz
Classcat is orders of magnitude faster.
Also, classNames accepts a variable number of arguments whereas Classcat a single argument.
To work around this, wrap the arguments inside an array.