Releases: preactjs/signals
@preact/[email protected]
Patch Changes
-
#647
655905b
Thanks @jviide! - Ensure that text effects get disposed -
#630
4b9144f
Thanks @JoviDeCroock! - Change the way we deal with state settling hooks, when we know we are dealing with hooks that can settle their A -> B -> A state (and wind up at the same value). We should not verbatim rerender in our custom shouldComponentUpdate. Instead we should trust that hooks have handled their own state settling.
@preact/[email protected]
Patch Changes
- #641
e932cfc
Thanks @JoviDeCroock! - Change the way we deal with state settling hooks, when we know we are dealing with hooks that can settle their A -> B -> A state (and wind up at the same value). We should not verbatim rerender in our custom shouldComponentUpdate. Instead we should trust that hooks have handled their own state settling.
@preact/[email protected]
Patch Changes
- #640
503128f
Thanks @andrewiggins! - Don't track signals read during an SSR render (e.g. renderToString, renderToStaticMarkup)
@preact/[email protected]
Major Changes
- #638
8c72dff
Thanks @JoviDeCroock! - Remove/auto
and automatic tracking as it is incompatible with React 19
@preact/[email protected]
Patch Changes
- Updated dependencies [
8c72dff
]:- @preact/[email protected]
@preact/[email protected]
Major Changes
-
#604
fea3e8d
Thanks @JoviDeCroock! - Defer all DOM updates by an animation frame, this should make it so
that any previously synchronous DOM update will be instead delayed by an
animation frame. This allows Preact to first perform its own render
cycle and then our direct DOM updates to occur. These will now
be performed in a batched way which is more performant as the browser
is prepared to handle these during the animation frame.This does impact how Preact based signals are tested, when
you perform a signal update, you'll need to wrap it inact
. In a way
this was always the case, as a signal update that resulted in
a Preact state update would require it to be wrapped inact
, but
now this is the norm.
Minor Changes
- #595
499428a
Thanks @JoviDeCroock! - Align signal effects with animation-frames for better performance
Patch Changes
- #609
8e6e2de
Thanks @JoviDeCroock! - Change timing to a double microtask so we are behind the Preact render queue but can't delay as much as a user-input coming in.
@preact/[email protected]
Minor Changes
- #624
18b2f29
Thanks @JoviDeCroock! - BumppeerDependency
on React to support 19.x
Patch Changes
@preact/[email protected]
Minor Changes
- #624
18b2f29
Thanks @JoviDeCroock! - BumppeerDependency
on React to support 19.x
Patch Changes
- #628
c3e8e8c
Thanks @Artur-! - Avoid cloning the top-level component function when we are
prependinguseSignals
. 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]
@preact/[email protected]
Patch Changes
-
#620
4cda002
Thanks @developit! - Simplify text update patch to avoid using new internals -
#618
021c726
Thanks @JoviDeCroock! - Ensure that the Effects versions are updated when using it as a JSX Signal
@preact/[email protected]
Minor Changes
- #591
e1a1465
Thanks @JoviDeCroock! - Bump to supportReadonlySignal
in jsx