myObservableVariable = observable({......})
or by using a decorator, i.e.:myObservableClassProperty
observable, it also makes the myObservableClassProperty
property of your class instances observable so that placing a new object in it will cause observers to react, at which point they'll reference properties of this new object and so will subsequently react to changes in the new object.myObservableVariable
will have no effect on observers as they will continue to observe the old object.