@preact/signals-react
3.12.0 · 4 Aug 2026MIT732k / weekRepositoryHomepagenpmAtom feed
Upgrading @preact/signals-react From 3.5.0 to 3.12.0
14 releases in betweenevery note read
Reading releases, release notes and advisories…
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
6 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.