title: Call a static function into the class React ES6
body: <p>I have the following ReactJS class:</p>
  
  <pre><code>import React from 'react'
  
  export class Content extends React.Component {
  
    static getValue(key) {
      return key
    }
  
    render() {
      let value = this.getValue(this.props.valueKey);
      return &lt;span dangerouslySetInnerHTML={{__html: value}} /&gt;
    }
  }
  </code></pre>
  
  <p>But I have the following error:</p>
  
  <pre><code>TypeError: this.getValue is not a function
  </code></pre>
  
  <p>I don't understand.  Is this the good way to call a static function? I think react is doing something with statics, but I don't know what.</p>