lukeed/clsxPublic

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

fix: separate object vs array loop

- was cheeky, but ofc impacted Array performance
- trades +24B for 200-600% performance gain
LELuke Edwards authored
91f5e68Patch
Parent4aff569
1 file changed+10-1
StackedSplit
src/index.js+10 −1