Named hook aliases
Supported state, effect, reducer, ref, and context imports normalize to the compiler's canonical hook names.
REACT HOOK NORMALIZATION
Aliased hooks, direct members such as React.useState, and inline useCallback now lower into Kudzu's existing build-time component and capability model.
WHAT LANDED
Supported state, effect, reducer, ref, and context imports normalize to the compiler's canonical hook names.
Direct supported members on default and namespace React imports compile without loading React.
Analyzable wrappers disappear before handler specialization, with no browser memoization runtime.
Captured state and effectful dependency expressions receive source-located diagnostics.
React type namespaces erase normally and stay outside runtime migration validation.
Accepted syntax adds no capability to routes that remain static.
UPGRADE
npm install @kudzujs/core@^0.7.2