Subscribe
What is subscribe?
with subscribe
function you will be notified whenever there is a change by simply
And when you want to stop it just use the returned function
Filter
Sometimes you want to only be notified if some of the properties changed, you can use the getter
option, which returns a derived state from store.
Last updated