title: react native DeviceEventEmitter unsubscribe from event
body: <p>I'm using <code>DeviceEventEmitter</code> to handle events of a favorite method, to which is subscribed in the constructor: </p>
  
  <pre><code>DeviceEventEmitter.addListener("FavoriteClick", async (e) =&gt; 
  {
      // do something
  })
  </code></pre>
  
  <p>This event listener stays active whenever the components unmounts (permenantly). What do I have to call to unsub? I've tried storing the event as a variable and calling <code>listener.removeCurrentListener()</code> in the <code>componentWillUnmount()</code> <a href="https://github.com/facebook/react-native/blob/master/Libraries/vendor/emitter/EventEmitter.js" rel="nofollow noreferrer">like the (limited) documentation states</a>, if I understand that correctly, but <code>removeCurrentListener()</code> is not a method. </p>