3 ms·Indeed. Worth noting that classnames is a tiny library.by nicoburns 5y agoIndeed. Worth noting that classnames is a tiny library.lhnz 5y agoI've heard that `clsx` is faster: https://github.com/lukeed/clsx https://github.com/lukeed/clsxnicoburns 5y agoLooks 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.