lukeed/clsxPublic

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

Why should this be used for only class names?

  1. LU

    It can used for anything, even outside of a DOM world, but classnames are the common scenario.

    But ya, it's just string concatenation

  2. lukeedclosed5 years ago on GitHub