function updateState() {
  // Notify all subscribers
  this.subscribers.forEach((subscriber) => {
    // Re-render only be triggered, via implicit states (see below),
    // only when the interested explicit state content is modified.
    subscriber(JSON.stringify(this.state))
  })
}
// makes it easier for state modifications.
makes it easier for state modifications.
makes it easier for state modifications .
function updateState() {
  this.subscribers.forEach((subscriber) => {
    subscriber(JSON.stringify(this.state))
  })
}
function updateState ( ) { this . subscribers . forEach ( ( subscriber ) => { subscriber ( JSON . stringify ( this . state ) ) } ) }
makes it easier for state modifications.
makes it easier for state modifications .
// Notify all subscribers // Re-render only be triggered, via implicit states (see below), // only when the interested explicit state content is modified.