@preact/signals
2.11.4 · 27 Oct 2026MIT4.7M / weekRepositoryHomepagenpmAtom feed
Upgrading @preact/signals From 2.8.1 to 2.11.4
13 releases in betweenevery note read
Reading releases, release notes and advisories…
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
4 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.