Skip to content

Releases: preactjs/signals

@preact/signals-core@1.8.0

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/signals-react-transform@0.4.0

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

Minor Changes

@preact/signals@1.3.0

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

  • Updated dependencies [931404e]:
    • @preact/signals-core@1.7.0

@preact/signals-react@2.1.0

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/signals-react-transform@0.3.2

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

Patch Changes

@preact/signals-core@1.7.0

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/signals-react@2.0.2

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

Patch Changes

  • #570 d653451 Thanks @developit! - Fix out-of-order effect error when suspending in React Native

  • Updated dependencies [c8c95ac]:

    • @preact/signals-core@1.6.1

@preact/signals-core@1.6.1

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

Patch Changes

  • #558 c8c95ac Thanks @jviide! - Restore stricter effect callback & cleanup function types

@preact/signals@1.2.3

19 Mar 17:48
d3935e8
Compare
Choose a tag to compare

Patch Changes

@preact/signals-react@2.0.1

19 Mar 17:48
d3935e8
Compare
Choose a tag to compare

Patch Changes