@preact/signals-core
1.14.5 · 27 Oct 2026MIT17.2M / weekRepositoryHomepagenpmAtom feed
1.14.5 is the newest release of 1.x.
In short
3 new2 fixed
Release note
This release improves performance of signals across all measurements. We want to especially highlight @jviide 's work in #161 here as it did outstanding strides on reducing memory usage, improving performance and ending up making signals one (if not the) fastest reactive library at the time of this writing 🎉
Minor Changes
Add ability to run custom cleanup logic when an effect is disposed.
effect(() => { console.log("This runs whenever a dependency changes"); return () => { console.log("This runs when the effect is disposed"); }); });Allow disposing a currently running effect
Patch Changes
Fix
.subscribe()unexpectedly tracking signal accessAdd support for
Signal.prototype.valueOfRemove all usages of
Set,Mapand other allocation heavy objects in signals-core. This substaintially increases performance across all measurements.
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.