Hacker News new | ask | show | jobs
by nicoburns 1838 days ago
Indeed. Worth noting that classnames is a tiny library.
1 comments

I've heard that `clsx` is faster: https://github.com/lukeed/clsx
Looks like a well designed library (and it is only 40 lines long - but then the original isn't much bigger). But it's hard for me to imagine code where this is a bottleneck.