Packages

@preact/signals-react

3.12.0 · 4 Aug 2026MIT732k / weekRepositoryHomepagenpmAtom feed

Upgrading @preact/signals-react From 2.0.0 to 3.12.0

29 releases in betweennotes for 21

Reading releases, release notes and advisories…

Other targets from 2.0.0Newest 2.x2.3.0
  1. 2.0.0yours
  2. 5 releases
  3. 3.0.0major
  4. 22 releases
  5. 3.12.0target
1+
change to make
0
advisories fixed
14+
new
10+
fixes

Counted from 21 of 29 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking3.0.0

Release by release

  1. 3.12.0

    4 Aug 20261 new
    • New

      Add support for passing functions as fallback to <For> for lazy instantiation.

  2. 3.11.1

    31 Jul 20261 fix
    • Fixed

      Export the ModelFactory type from the Preact and React adapters.

  3. 3.11.0

    23 Jul 20261 new
    • New

      Add support for passing functions as fallback to <Show> for lazy instantiation.

  4. 3.10.3

    7 Jul 20261 new
    • New

      Allow <For> to accept readonly arrays and signals containing readonly arrays.

  5. 3.10.2

    16 Jun 20261 fix
    • Fixed

      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.

  6. 3.10.1

    11 May 20261 fix
    • Fixed

      Update live-signal within an effect to avoid the cannot update component while rendering other component error in react.

  7. 3.10.0

    27 Mar 20261 new
    • New

      Add optional getKey prop to <For> component for stable list reconciliation. When provided, getKey generates stable keys for the internal <Item> wrapper, fixing incorrect DOM reuse when items are removed or reordered.

  8. 3.9.1

    8 Mar 20261 fix
    • Fixed

      Fix infinite recursion when tools like Storybook traverse Signal props

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