lukeed/clsxPublic

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

v2.0.1

LUlukeed published 5cac14cImmutable

Release notes

## Patches

- (perf) Cache `arguments.length` & `array.length` for 6% performance gain (#26): deff09b _Adds 5 bytes (+2%) for ~3% avg performance gain_ _Thank you @jalalazimi_

## Chores

- Update module size: bf64e71 - Update benchmark results: 855eec2, 6e3b2b9, - Replace `nyc` with `c8` in CI: 6e2468e - Update Node CI matrix: 308a238 - Fix readme typos (#76, #82): 42354d3, 4c9a55d _Thank you @andipaetzold and @acusti_

---

> **Full Changelog**: https://github.com/lukeed/clsx/compare/v2.0.0...v2.0.1

Attached at publication

## Patches

- (perf) Cache `arguments.length` & `array.length` for 6% performance gain (#26): deff09b _Adds 5 bytes (+2%) for ~3% avg performance gain_ _Thank you @jalalazimi_

## Chores

- Update module size: bf64e71 - Update benchmark results: 855eec2, 6e3b2b9, - Replace `nyc` with `c8` in CI: 6e2468e - Update Node CI matrix: 308a238 - Fix readme typos (#76, #82): 42354d3, 4c9a55d _Thank you @andipaetzold and @acusti_

---

> **Full Changelog**: https://github.com/lukeed/clsx/compare/v2.0.0...v2.0.1

Assets 0
None were attached at publication.
No assets.

Shipped in this Release 0

None

Deployments 0

  • None

History 0

No Decisions yet.