mali-signali
Advanced tools
Changelog
[1.2.0] - 2024-11-24
EffectContext
- An effect context object with a cancel()
function that can be used to cancel the effect.Changelog
[1.1.0] - 2024-10-18
untracked()
- A function that reads the value of a signal without tracking it.signal
option to effect()
and memo()
- An instance of AbortSignal
that can be used to unlink all dependencies when the signal is aborted.structuralEqual()
- a structural equality function which uses Object.is()
semantics.looseStructuralEqual()
- a structural equality function which uses ==
semantics.SignalOptions.equals
option now defaults to structuralEqual()
instead of Object.is()
.signal()
is now typed as readonly
.