0.7.5AUGUST 2026

CLASS COMPOSITION MIGRATION

Compose the class.
Drop the runtime.

Common clsx calls now lower to ordinary static and reactive class expressions instead of becoming a serialized browser dependency.

0 Bclsx browser runtime
0React type imports emitted
86/86Framework tests
01

WHAT LANDED

Package-shaped source.
Native class output.

IMPORTS

Direct clsx calls

Default and named imports are recognized and removed during compilation.

OBJECTS

Conditional classes

Literal object conditions become ordinary conditional string expressions.

ARRAYS

Literal composition

Nested literal arrays and conditional values lower without a helper runtime.

REACTIVE

Existing bindings

State-driven classes continue through Kudzu's direct attribute patching path.

TYPES

Clean React erasure

Mixed type-only React specifiers disappear before runtime import rewriting.

STATIC

Zero stays zero

Static class composition adds no browser JavaScript.

UPGRADE

Keep the helper syntax, not the helper.

$npm install @kudzujs/core@^0.7.5