@preact/signals
2.11.4 · 27 Oct 2026MIT4.7M / weekRepositoryHomepagenpmAtom feed
Upgrading @preact/signals From 1.3.4 to 2.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 1
- new
- 1
- fix
Before you upgrade
Tick each one off as you go- Breaking2.0.0
Release by release
- Breaking
Defer all DOM updates by an animation frame, this should make it so that any previously synchronous DOM update will be instead delayed by an animation frame. This allows Preact to first perform its own render cycle and then our direct DOM updates to occur. These will now be performed in a batched way which is more performant as the browser is prepared to handle these during the animation frame.
- New
Align signal effects with animation-frames for better performance
- Fixed
Change timing to a double microtask so we are behind the Preact render queue but can't delay as much as a user-input coming in.
- Breaking
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.