Skip to content

@preact/signals@2.9.3

Latest

Choose a tag to compare

@github-actions github-actions released this 07 Jul 05:57
f6437f7

Patch Changes

  • #950 76f9155 Thanks @joeyTedeschi! - Allow <For> to accept readonly arrays and signals containing readonly arrays.

  • #948 6b0a76c Thanks @JoviDeCroock! - Dispose signal prop updaters when an element re-renders without any signal props.

    The disposal pass only ran when the new render still carried at least one signal-bound prop. When every signal prop was replaced by plain values, the old updater effect stayed subscribed and kept writing the previous signal's values straight into the DOM, overriding whatever Preact rendered.

  • Updated dependencies [2910fbf, d40746b]:

    • @preact/signals-core@1.14.4