Packages

@preact/signals-react

3.12.0 · 4 Aug 2026MIT732k / weekRepositoryHomepagenpmAtom feed

Your version

3.12.0

Latest4 Aug 2026Where it was published

In short

1 new

Release note

Minor Changes

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

    <For each={list} fallback={() => <p>No items</p>}>
      {item => <p>{item}</p>}
    </For>

    This avoids eager evaluation of the fallback when the collection has items, which matters when you're dealing with signals.

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.