title: Is it necessary to unsubscribe from a Redux store in an Angular component
body: <p>I am almost certain that i should, but i have not found any specific information on the Redux documentation. My pattern in most of my Angular components, is that i subscribe/unsubscribe to a Redux store like :</p>
  
  <pre><code>import { Component, OnInit } from '@angular/core';
  
  @Component({
      moduleId: module.id,
      selector: 'selector',
      templateUrl: 'name.component.html'
  })
  export class ComponentNameComponent implements OnInit {
      private unsubscribe : Function;
  
      constructor(@Inject(AppStore) private store: Store&lt;AppState&gt;) {}
  
      ngOnInit() {
          this.unsubscribe = this.store.subscribe ( ()=&gt;{ this.updateFromState(); });
      }
      // Is unsubscribing onDestroy necessary?
      ngOnDestroy(){
          this.unsubscribe();
      }
  
      this.updateFromState(){
          // ...
      }
  }
  </code></pre>
  
  <p>So i would like to know if i should always unsubscribe from the Store, and what would happen if i didn't. </p>