lukeed/clsxPublic

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

chore: improve clsx maintenance path #122

Closedquyentonndbsclosed 1 commit intomasterfromrefs/pull/122/head
  1. QU

    Summary: - Add an edge-case unit test asserting that clsx() handles nested arrays containing a mix of falsy values (false, null, undefined, 0, '') interleaved with truthy strings, ensuring falsy filtering remains correct across deep nesting — covers a path not explicitly exercised in the existing suite. - Keep the change narrow so it is straightforward to review.

    Notes: - I kept this scoped to the relevant implementation and tests.

  2. lukeedclosed5 months ago on GitHub