Releases: preactjs/signals
@preact/signals-core@1.8.0
Minor Changes
-
#587
cd9efbb
Thanks @JoviDeCroock! - Adjust theReadOnlySignal
type to not inherit fromSignal
this way the type can't be widened without noticing, i.e. when
we'd haveconst 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
Minor Changes
- #584
726e417
Thanks @JoviDeCroock! - Supportrequire()
syntax in the Babel transform
@preact/signals@1.3.0
Minor Changes
- #578
931404e
Thanks @JoviDeCroock! - Allow for passing no argument to the signal and the type to be automatically inferred asT | undefined
Patch Changes
- Updated dependencies [
931404e
]:- @preact/signals-core@1.7.0
@preact/signals-react@2.1.0
Minor Changes
- #578
931404e
Thanks @JoviDeCroock! - Allow for passing no argument to the signal and the type to be automatically inferred asT | undefined
Patch Changes
-
#577
5a02bfa
Thanks @JoviDeCroock! - Throw an error when auto-tracking is used with React 19 -
Updated dependencies [
931404e
]:- @preact/signals-core@1.7.0
@preact/signals-react-transform@0.3.2
Patch Changes
-
#582
4fa8603
Thanks @JoviDeCroock! - Support nested scopes like a component accessing an array of signals -
Updated dependencies [
931404e
,5a02bfa
]:- @preact/signals-react@2.1.0
@preact/signals-core@1.7.0
Minor Changes
- #578
931404e
Thanks @JoviDeCroock! - Allow for passing no argument to the signal and the type to be automatically inferred asT | undefined
@preact/signals-react@2.0.2
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