@preact/signals
2.11.4 · 27 Oct 2026MIT4.7M / weekRepositoryHomepagenpmAtom feed
Upgrading @preact/signals From 1.2.3 to 2.11.4
41 releases in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 16
- new
- 40
- fixes
Before you upgrade
Tick each one off as you go- Breaking2.6.0
- Breaking2.0.0
Release by release
- Fixed
Use the active Preact VNode marker.
- Fixed
- Fixed
Don't re-run a
useSignalEffectfor a component that was unmounted by the same update. Preact 11 disposes it after paint, so the effect could otherwise run once more against an unmounted component.
- Fixed
- Fixed
Stop component tracking before Preact reconciles the returned VNode so Signals read by DOM property getters do not subscribe the parent component.
- Fixed
- Fixed
Avoid closing over VNodes in component updater callbacks.
- Fixed
- 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. - Fixed
Name signals created internally by the Preact adapter and
useLiveSignalso debugging tools can identify them.
- New
- Fixed
Stop treating
useContextas hook state in the auto-memoization heuristic. Context updates force-update their subscribers in Preact, bypassingshouldComponentUpdateentirely, so context consumers can safely keep the props-based render skipping.
- Fixed
10 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.