title: TypeError: _this2.props.someFunciton is not a function - react
body: <p>Although there are posts with similar titles, they are all irrelevant or don't answer the question that was posted.</p>
  
  <p>I have a component that is called like this inside another page:</p>
  
  <pre><code>&lt;SomeComponent  aParticularProp={(arg) =&gt; {this.someFunction(arg)}} /&gt;
  </code></pre>
  
  <p>Here is a simplified version of what SomeComponent looks like: </p>
  
  <pre><code> class SomeComponent extends React.Component{
  
  constructor(props){
      super(props);
      this.state = {someState: "test"};
  }
  
  something(){
    return (
        &lt;SpecialButton 
            onClick={() =&gt; {this.props.someFunction(this.state.someState)}}
        /&gt;
    )
  
  }
  
  render () {
     return (
           {this.something()}
     ); 
  }
  
  }
  </code></pre>
  
  <p>Why am I getting "TypeError: _this2.props.someFunciton is not a function" ?</p>