Manage state with style in every framework
MIT License
Bot releases are hidden (Show)
Published by marvinhagemeister about 2 years ago
Published by marvinhagemeister about 2 years ago
ad29826
Thanks @marvinhagemeister! - Fix hook names being mangledPublished by marvinhagemeister about 2 years ago
515ff33
Thanks @jmeistrich ! - Fix signal not updated in React production buildPublished by marvinhagemeister about 2 years ago
#205 4b73164
Thanks @jviide! - Use the same tracking logic for both effects and computeds. This ensures that effects are only called whenever any of their dependencies changes. If they all stay the same, then the effect will not be invoked.
#207 57fd2e7
Thanks @jviide! - Fix effect disposal when cleanup throws
#209 49756ae
Thanks @jviide! - Optimize dependency value change checks by allowing earlier exists from the loop
Published by marvinhagemeister about 2 years ago
3db7500
Thanks @JoviDeCroock! - Fix server-sider-render error when unmounting a signal passed as text into JSX.Published by marvinhagemeister about 2 years ago
This release improves performance of signals across all measurements. We want to especially highlight @jviide 's work in #161 here as it did outstanding strides on reducing memory usage, improving performance and ending up making signals one (if not the) fastest reactive library at the time of this writing 🎉
#183 79ff1e7
Thanks @jviide! - Add ability to run custom cleanup logic when an effect is disposed.
effect(() => {
console.log("This runs whenever a dependency changes");
return () => {
console.log("This runs when the effect is disposed");
});
});
#170 3e31aab
Thanks @jviide! - Allow disposing a currently running effect
#188 b4611cc
Thanks @jviide! - Fix .subscribe()
unexpectedly tracking signal access
#162 9802da5
Thanks @developit! - Add support for Signal.prototype.valueOf
#161 6ac6923
Thanks @jviide! - Remove all usages of Set
, Map
and other allocation heavy objects in signals-core. This substaintially increases performance across all measurements.
Published by marvinhagemeister about 2 years ago
Published by marvinhagemeister about 2 years ago
fb74bb9
Thanks @JoviDeCroock! - add useSignalEffect
hookPublished by marvinhagemeister about 2 years ago
#147 3556499
Thanks @developit! - Improve performance when rendering Signals as Text in Preact.
#148 b948745
Thanks @marvinhagemeister! - Move types
field in package.json
to the top of the entry list to ensure that TypeScript always finds it.
#146 9e798fd
Thanks @CodyJasonBennett! - fix(react): track owners separately, mutate updaters with dispatcher
Published by marvinhagemeister about 2 years ago
#147 3556499
Thanks @developit! - Improve performance when rendering Signals as Text in Preact.
#148 b948745
Thanks @marvinhagemeister! - Move types
field in package.json
to the top of the entry list to ensure that TypeScript always finds it.
#153 0da9ce3
Thanks @developit! - Optimize the performance of prop bindings in Preact
Published by marvinhagemeister about 2 years ago
#143 f2ba3d6
Thanks @Pauan! - Simplify batch()
to use a single flag instead of a counter
#150 160ea77
Thanks @marvinhagemeister! - Fix computed signal being re-calculated despite dependencies not having changed
#137 4385ea8
Thanks @jviide! - Fix .subscribe
's TypeScript type
#148 b948745
Thanks @marvinhagemeister! - Move types
field in package.json
to the top of the entry list to ensure that TypeScript always finds it.
#149 00a59c6
Thanks @marvinhagemeister! - Fix invalidated signals inside batch()
not being refreshed when read inside a batching operation. This fixes a regression.
Published by marvinhagemeister about 2 years ago
Published by marvinhagemeister about 2 years ago
.subscribe()
-method to signals to add support for natively using signals with Svelte - #134 @marvinhagemeisterSignal
class name - #100 @marvinhagemeister