title: Static method is undefined in ES6 classes with a decorator in reactjs
body: <p>I have an ES6 class with a decorator. It has a static method foo. However when I try to access the static method, its undefined.</p>
  
  <pre><code>@withStyles(styles)
  class MyComponent extends Component {
      static foo(){
          return "FOO";
      }
      render(){
          var x = MyComponent.foo; // x=undefined
      }
  }
  </code></pre>
  
  <p>When I remove the decorator I can access the static method. Its no longer undefined.</p>
  
  <pre><code>class MyComponent extends Component {
      static foo(){
          return "FOO";
      }
      render(){
          var x = MyComponent.foo; // x=foo()
      }
  }
  </code></pre>
  
  <p>Is there a workaround for this issue?</p>