Packages

@preact/signals

2.11.4 · 27 Oct 2026MIT4.7M / weekRepositoryHomepagenpmAtom feed

Your version

2.9.2

16 Jun 2026Where it was published

2.11.4 is the newest release of 2.x.

In short

2 fixed1 internal

Release note

Patch Changes

  • 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.

  • Fix Signal-bound DOM props getting stranded at a stale value when Preact reuses a DOM node. The prop-binding effect now writes the applied value back into the rendered props, keeping Preact's diff baseline in sync with the DOM instead of assuming Preact applied every update.

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.