Re:Real-world CSS vs. CSS-in-JS performance comparison
by nicoburns on Tuesday June 08, 2021 @04:28PM
(#27440328)
Indeed. Worth noting that classnames is a tiny library.
Re:Real-world CSS vs. CSS-in-JS performance comparison
by lhnz on Tuesday June 08, 2021 @04:43PM
(#27440509)
I've heard that `clsx` is faster: https://github.com/lukeed/clsx
https://www.npmjs.com/package/classnames
In the end, I generally prefer to use tailwind + emotion. My goals usually is to save time and make system more consistent rather than perf gains, which isn't that much on new systems.