Releases: preactjs/signals
@preact/[email protected]
@preact/[email protected]
Patch Changes
-
#535
58befba
Thanks @jviide! - Publish packages with provenance statements -
Updated dependencies [
d846def
]:- @preact/[email protected]
@preact/[email protected]
@preact/[email protected]
2.0.0
Major Changes
-
#467
d7f43ef
Thanks @andrewiggins! - Remove auto tracking using React internals from signals-react packageBefore this change, importing
@preact/signals-react
would invoke side effects that hook into React internals to automatically track signals. This change removes those side effects and requires consumers to update their code to continue using signals in React.We made this breaking change because the mechanism we were using to automatically track signals was fragile and not reliable. We've had multiple issues reported where signals were not being tracked correctly. It would also lead to unexpected errors that were hard to debug.
For some consumers and apps though, the current mechanism does work. If you'd like to continue using this mechanism, simply add
import "@preact/signals/auto";
to the root of your app where you callReactDOM.render
. For our newly supported ways of using signals in React, check out the new Readme for@preact/signals-react
.
@preact/[email protected]
0.3.0
Minor Changes
- #467
d7f43ef
Thanks @andrewiggins! - Change opt-in/opt-out comment to@useSignals
and@noUseSignals
. Previous comments (@trackSignals
&@noTrackSignals
) still supported but deprecated.
@preact/[email protected]
1.3.8
Patch Changes
- #456
b0b2a5b
Thanks @XantreGodlike! - Ensure types are resolved against built.d.ts
rather than source.ts
@preact/[email protected]
0.2.0
Minor Changes
- #458
0c0d89f
Thanks @andrewiggins! - Only prepend useSignals call if we can't determine whether a function is a component or hook
- #459
06d4c10
Thanks @andrewiggins! - Wrap custom hooks in try/finally when using react-transform
- #446
09f3ed7
Thanks @andrewiggins! - Use function expression name to determine if it is a Component and should be transformed.
@preact/[email protected]
@preact/[email protected]
@preact/[email protected]
1.3.7
Patch Changes
- #443
020982d
Thanks @andrewiggins! - Setup internal infrastructure for upcoming major change
- #439
fb6b050
Thanks @andrewiggins! - Fix rendering signals as text when using react-transform