title: EventEmitter and Subscriber ES6 Syntax with React Native
body: <p>I am trying to implement an EventEmitter/Subscriber relationship between two components in a react native class. I have seen referenced the following materials:</p>
  
  <ul>
  <li><a href="https://colinramsay.co.uk/2015/07/04/react-native-eventemitters.html" rel="noreferrer">React Native - Event Emitters by Colin Ramsay</a></li>
  <li><a href="https://stackoverflow.com/questions/31177366/react-native-call-function-of-child-from-navigatorios">React Native - Call Function of child from NavigatorIOS</a></li>
  </ul>
  
  <p>These solutions are adequate for what I am trying to accomplish, however, they bother require the use of <code>mixins: [Subscribable.Mixin]</code> on the receiving component to work properly with <code>Subscriber</code>. Unfortunately, I am using ES6 and extending my classes from <code>Component</code> so I can not use this mixin syntax.</p>
  
  <p>My question is: How can I implement the above solutions in ES6 without the use of mixins?</p>