Packages

@preact/signals

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

Your version

2.10.0

23 Jul 2026Where it was published

2.11.4 is the newest release of 2.x.

In short

1 new1 fixed

Release note

Minor Changes

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

    <Show when={toggle} fallback={() => <p>I'm lazy</p>}>
      <p>foo</p>
    </Show>

    This avoids eager evaluation of whatever is passed to fallback which matters when you're dealing with signals.

Patch Changes

  • Name signals created internally by the Preact adapter and useLiveSignal so debugging tools can identify them.

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.