update ( data ) {
    if ( !this.deepEqual(data, this.data) ) {
      Object.assign(this.data, data);
      this.notify();
    }
  }
/**
   * Conditionally update the data in state and notify subscribers.
   */
Conditionally update the data in state and notify subscribers.
Conditionally update the data in state and notify subscribers .
update ( data ) {
    if ( !this.deepEqual(data, this.data) ) {
      Object.assign(this.data, data);
      this.notify();
    }
  }
update ( data ) { if ( ! this . deepEqual ( data , this . data ) ) { Object . assign ( this . data , data ) ; this . notify ( ) ; } }
Conditionally update the data in state and notify subscribers.
Conditionally update the data in state and notify subscribers .