Skip to content

Kudzu 0.7.22 - SVG structures and native links

Choose a tag to compare

@bunzzeok bunzzeok released this 03 Aug 09:04
· 40 commits to main since this release

Kudzu 0.7.22 extends ordinary React-shaped structural authoring into SVG and erases supported React Router Link source to native navigation without adding an SVG renderer or router runtime.

New in 0.7.22

  • Reactive SVG conditionals parse replacement nodes in the actual SVG parent context.
  • Flat intrinsic keyed SVG lists preserve namespace and identity through add, update, reorder, and removal.
  • HTML-only builds compile out SVG fragment construction.
  • Named or aliased React Router Link with one safe static root-relative to becomes a base-aware native anchor.
  • Dynamic destinations, traversal, NavLink, router-only props, spreads, and unsupported imports receive source diagnostics.
  • Multiple direct primitive effect dependencies are explicitly covered through existing commit batching and Object.is comparison.
  • The complete suite passes 111/111 tests.

Measured

The 1,000-row SVG fixture measured 0.8 ms conditional, 1.9 ms update, 8.3 ms reverse, 2.4 ms remove, and 3.5 ms add medians. Link and native-anchor controls emitted byte-identical 248 B HTML and zero JavaScript. Full raw arrays are recorded in PERFORMANCE.md.

Upgrade

npm install @kudzujs/core@^0.7.22