@preact/signals-react
3.12.0 · 4 Aug 2026MIT732k / weekRepositoryHomepagenpmAtom feed
Upgrading @preact/signals-react From 1.3.2 to 3.12.0
36 releases in betweennotes for 21
Reading releases, release notes and advisories…
- 1+
- change to make
- 0
- advisories fixed
- 14+
- new
- 10+
- fixes
Counted from 21 of 36 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking3.0.0
Release by release
- New
Add support for passing functions as fallback to
<For>for lazy instantiation.
- New
- Fixed
Export the
ModelFactorytype from the Preact and React adapters.
- Fixed
- New
Add support for passing functions as fallback to
<Show>for lazy instantiation.
- New
- New
Allow
<For>to accept readonly arrays and signals containing readonly arrays.
- New
- Fixed
Fix stale
<For>render-prop indexes after removals/reorders by making each cached item's index reactive (a per-item signal) instead of a frozen prop. Cached children are reused and re-render with the new index rather than being recreated, so DOM/component identity is preserved.
- Fixed
- Fixed
Update
live-signalwithin an effect to avoid thecannot update component while rendering other componenterror in react.
- Fixed
- New
Add optional
getKeyprop to<For>component for stable list reconciliation. When provided,getKeygenerates stable keys for the internal<Item>wrapper, fixing incorrect DOM reuse when items are removed or reordered.
- New
- Fixed
Fix infinite recursion when tools like Storybook traverse Signal props
- Fixed
8 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.