0.7.2JULY 2026

REACT HOOK NORMALIZATION

Keep the hooks.
Ship direct DOM.

Aliased hooks, direct members such as React.useState, and inline useCallback now lower into Kudzu's existing build-time component and capability model.

0 BStatic route JavaScript
0React runtime modules
84/84Framework tests
01

WHAT LANDED

Familiar calls.
Canonical compiler input.

ALIASES

Named hook aliases

Supported state, effect, reducer, ref, and context imports normalize to the compiler's canonical hook names.

MEMBERS

React.useState

Direct supported members on default and namespace React imports compile without loading React.

CALLBACKS

Inline useCallback

Analyzable wrappers disappear before handler specialization, with no browser memoization runtime.

SAFETY

Dependency checks

Captured state and effectful dependency expressions receive source-located diagnostics.

TYPES

Type-only React

React type namespaces erase normally and stay outside runtime migration validation.

STATIC

Zero stays zero

Accepted syntax adds no capability to routes that remain static.

UPGRADE

Migrate syntax, not React.

$npm install @kudzujs/core@^0.7.2