0.7.16AUGUST 2026

BUILD-TIME LAZY STATE

Write the initializer.
Ship only the value.

React-shaped lazy state now lowers to serialized compiler ownership across ordinary children, conditional remounts, and keyed rows.

0Browser components
3Literal families
2Import sources
01

WHAT LANDED

Familiar syntax.
Existing ownership.

SYNTAX

Lazy initializer form

Use an anonymous synchronous zero-argument function just as in ordinary React source.

DATA

Serializable literals

Primitive, plain-object, and array returns lower directly into build-time state.

CHILDREN

Independent calls

Repeated same-file and imported children retain distinct concrete state IDs.

REMOUNT

Fresh object state

Conditional re-entry clones the serialized initializer instead of restoring stale data.

ROWS

Key-scoped ownership

Keyed rows reuse their existing structural state path across updates and reorder.

OUTPUT

Initializer erased

No lazy function, React runtime, or browser component tree enters deploy assets.

UPGRADE

Keep the React-shaped initializer.

$npm install @kudzujs/core@^0.7.16