Kudzu 0.7.28 - Nested component specialization
Kudzu 0.7.28 recursively specializes components rendered inside setter-adapter children, including optional imported UI with local hooks.
Highlights
- Same-file and relative-imported nested components specialize through to intrinsic JSX.
- Static-path nested state, IDs, refs, and effects join the outer generated owner.
- Omitted and false optional UI folds away without allocating hooks or browser capabilities.
- Nested assets, handlers, and relative TypeScript imports reuse existing specialization machinery.
- Dynamic hook paths, component cycles, unsupported imports, and second-boundary setter forwarding retain source diagnostics.
- The migration-derived FIRE AgeInput restores its hookful Tooltip with generated ARIA identity and hover/focus behavior.
- The complete suite passes 122/122 tests.
Boundary
Nested hooks require an unconditional or statically truthy path after outer prop substitution. Dynamic conditional hook ownership and forwarding the setter through another component remain unsupported. React is never emitted or executed.
Upgrade
npm install @kudzujs/core@^0.7.28