title: Storing React Class functions in separate files
body: <p>Is there a way to store the functions of a react class in a separate file then import those functions for use? The reason for wanting to do this would be purely to cut down on the size of my component and to group functions by category.</p>
  
  <p>For instance:</p>
  
  <pre><code>import functionIWantToImport from '../functions/functionIWantToImport';
  import anotherFunction from '../functions/anotherFunction';
  
  Class Test extends React.Component {
     constructor(props){
         super(props);
  
         this.state = {};
     }
  
     //and then include the functions like below:
     functionIWantToImport;
     anotherFunction;
  }
  </code></pre>
  
  <p>I know i can do this with helper functions that arent part of the component class. But I'd like to do it with my component functions to save space, and clean up my code.</p>