Kudzu 0.7.23 - Router-shaped runtime params
Kudzu 0.7.23 accepts conventional React Router useParams() source on runtime bracket routes and redirects it to Kudzu's existing route-specific pathname reader without shipping React Router.
New in 0.7.23
- Named or aliased
useParamsimports fromreact-router-domwork on bracket pages exportingruntimeParams = true. - One optional TypeScript type argument is preserved while runtime calls remain argument-free.
- The binding redirects to
@kudzujs/core; no React Router module reference survives emitted code. - Mixed
LinkanduseParamsimports lower together. - Existing secure pathname decoding, bindings, effects, handlers, and navigation lifetimes remain unchanged.
- Indirect references, runtime arguments, unsupported imports, and other router hooks receive source diagnostics.
- The complete suite passes 112/112 tests.
Boundary
Build-known getStaticPaths() routes continue to use page props. Catch-all routes, optional segments, indirect calls, runtime arguments, and other router hooks remain unsupported. No SPA router is included.
Upgrade
npm install @kudzujs/core@^0.7.23