svelte-writable-derived
Advanced tools
Changelog
2.1.0 (July 24, 2020)
propertyStore
, a writableDerived
wrapper for making a derived store from a stored object's property with less boilerplate (#5)writableDerived
is an alias for the default export, allowing you to get both exports with names if you so chooseChangelog
2.0.1 (June 14, 2019)
reflect
from being calledreflect
callChangelog
2.0.0 (June 13, 2019)
reflect
is now either a function with signature (reflecting, set)
or an object with interface { withOld(reflecting, old, set) }
. Async-ness is determined by whether the function accepts a set
parameter, just as for the derive
callback.reflect
callback now runs after subscriptions. Additional set
/update
calls while running subscriptions result in reflect
being called only once with the most recent value.writableDerived
to subscribe-then-unsubscribe to all origins:
set
method calls now do soreflect
no longer does soreflect
will not need themderived
is the only internal store remainingIf this update was useful for you, show your appreciation with money, kind words, or a job!
Changelog
1.0.1 (June 7, 2019)
derive
ran