News for hackers. Stuff that matters.
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
Re:Real-world CSS vs. CSS-in-JS performance comparison by nicoburns on Tuesday June 08, 2021 @05:19PM (#27440982)
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.