Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

What's the difference between Classcat and classNames? #23

Closed
jorgebucaran opened this issue May 8, 2018 · 0 comments
Closed

What's the difference between Classcat and classNames? #23

jorgebucaran opened this issue May 8, 2018 · 0 comments
Labels
docs You read it here first

Comments

@jorgebucaran
Copy link
Owner

jorgebucaran commented May 8, 2018

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
@jorgebucaran jorgebucaran added the docs You read it here first label May 8, 2018
Repository owner locked as resolved and limited conversation to collaborators May 8, 2018
@jorgebucaran jorgebucaran pinned this issue Dec 29, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
docs You read it here first
Projects
None yet
Development

No branches or pull requests

1 participant