svelte-deep-store
Svelte deep store - react only when specified property of the object was changed.
Usage
;; const state = some: 'value' someOther: nested: 'value' ; let nestedValue;; let some;; state; ; let currentState = state;console; ;
There are also watch
and watchAll
methods instead of subscribe
and subscribeAll
which do the same thing.
And set
is equivalent of update
;