Kudzu 0.8.0 - URL-backed custom hooks
Kudzu 0.8.0 migrates practical relative React custom hooks that combine state, effects, writable URL search parameters, guarded browser storage, structured calculations, and event-only package imports.
Highlights
- Relative zero-argument custom hooks specialize direct state/setter pairs and state-capturing callbacks without React or a browser hook runtime.
- Writable React Router search parameters lower to native URLSearchParams and History APIs with popstate synchronization.
- Reachable source graphs exclude unused migration modules; imported immutable maps fold to static HTML.
- Relative structured calculations and native reactive SVG support the complete fourteen-route FIRE migration.
- Event-only package imports bundle into route handler ESM, enabling real ExcelJS export without build-time package execution.
- Static sibling routes continue to ship zero JavaScript.
- The complete suite passes 132/132 tests.
Upgrade
npm install @kudzujs/core@^0.8.0