An object with observable key value pairs
An observable will emit a new immutable value whenever one of its keys changes.
Nested keys will still be the same value if they were not changed
in that particular
var ObservHash =var Observ =var assert =var state =statevar initialState =assertassertstatefruitsorangesstatecustomersstatefruitsapples
ObservHash() takes an object literal of string keys to either
normal values or observable values.
It returns an
obj. The value of
the normal value passed in or the value of the observable for
Whenever one of the observables on a
key changes the
emit a new object that's a shallow copy with that
key set to
the value of the appropiate observable on that
npm install observ-hash