lukeed/clsxPublic

A tiny (239B) utility for constructing `className` strings conditionally.

Why should i use this?

KI

Hi, maybe this is not the normal message you expect in Issues but there is no tab for discussions in this repository.

**My question is:** Why should I use CLSX instead of just applying conditional classes with template strings? Is it because the syntax is neater or it has better performance?

Goodbye :)

UPDATE: Yap, has better performance. I just saw the benchmarks, sorry.

  1. kilimanjjjaroclosed3 years ago on GitHub