v7.0.3

parruda/swarmv7.0.3May 13, 2026by sindresorhus

AI Summary

Fixes issues with static output dropping on identity changes, remounting behavior, and `useBoxMetrics` hook acceptance of ref objects.

Key Highlights

  • Fixes `<Static>` output dropping on identity change.
  • Fixes `<Static>` remount via key change dropping new items.
  • Fixes `useBoxMetrics` not accepting ref objects with null values.

New Features

  • Stabilized static component remounting behavior.
  • Fixed hook logic for box metrics.

Full Release Notes

- Fix: Drop stale `<Static>` output from fullStaticOutput on identity change (#950)  669c438
- Fix: `<Static>` remount via key change drops new items (#948)  be9f44c
- Fix `useBoxMetrics` not accepting ref objects with an initial null value (#945)  7c2267c

---

https://github.com/vadimdemedes/ink/compare/v7.0.2...v7.0.3