Skip to content

Releases: preactjs/signals

@preact/[email protected]

17 Dec 07:47
9022d4a
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • #628 c3e8e8c Thanks @Artur-! - Avoid cloning the top-level component function when we are
    prepending useSignals. This fixes compatability with fast-refresh
    as it requires the function identity to correctly leverage its
    cache.
  • Updated dependencies [18b2f29, 57a7d38, 18b2f29]:

@preact/[email protected]

27 Nov 19:43
d4ff246
Compare
Choose a tag to compare

Patch Changes

@preact/[email protected]

08 Aug 07:53
e046714
Compare
Choose a tag to compare

Minor Changes

@preact/[email protected]

04 Aug 06:21
8fab8fe
Compare
Choose a tag to compare

Minor Changes

  • #587 cd9efbb Thanks @JoviDeCroock! - Adjust the ReadOnlySignal type to not inherit from Signal
    this way the type can't be widened without noticing, i.e. when
    we'd have

    const sig: Signal = useComputed(() => x);

    We would have widened the type to be mutable again, which for
    a computed is not allowed. We want to provide the tools to our
    users to avoid these footguns hence we are correcting this type
    in a minor version.

@preact/[email protected]

23 Jul 07:31
7494fb2
Compare
Choose a tag to compare

Minor Changes

@preact/[email protected]

06 Jul 09:23
26d49bf
Compare
Choose a tag to compare

Minor Changes

  • #578 931404e Thanks @JoviDeCroock! - Allow for passing no argument to the signal and the type to be automatically inferred as T | undefined

Patch Changes

@preact/[email protected]

06 Jul 09:23
26d49bf
Compare
Choose a tag to compare

Minor Changes

  • #578 931404e Thanks @JoviDeCroock! - Allow for passing no argument to the signal and the type to be automatically inferred as T | undefined

Patch Changes

@preact/[email protected]

06 Jul 09:23
26d49bf
Compare
Choose a tag to compare

Patch Changes

@preact/[email protected]

06 Jul 09:23
26d49bf
Compare
Choose a tag to compare

Minor Changes

  • #578 931404e Thanks @JoviDeCroock! - Allow for passing no argument to the signal and the type to be automatically inferred as T | undefined

@preact/[email protected]

12 Jun 13:27
609a2b3
Compare
Choose a tag to compare

Patch Changes