title: stateless component compare param every time parent rendered
body: <p>I have a stateless component that was written like this</p>
  
  <pre><code>//stateless component
  const ComponentOne = ({ month }) =&gt; {
      console.log(month); // print incremental of 1 when I render parent component
  }
  </code></pre>
  
  <p>and the month is passed from its parent.</p>
  
  <pre><code>render(){
      return(
          &lt;ComponentOne month={ month }/&gt;
      )
  }
  </code></pre>
  
  <p>It it parent I can change the month and pass it down. How can I check whether the month is different after each time the parent rendered? Use componentWillRecieveProps? But the component has been a stateless component.</p>