title: React ES6 components using arrow functions
body: <p>Very new to react, 
  I have a class like:</p>
  
  <pre><code>export const Checkbox = ({ label, className }) =&gt; {
    ....
    .... 
    return(
      .............
      .............
  
    );             
  }
  </code></pre>
  
  <p>In such a class how can I specify add a componentDidMount and componentWillReceiveProps?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I have a layman's doubt, which is the correct way to create a wrapper react component for checkbox? functional component or by extending from Component? If I create a Checkbox wrapper component for others to use, will it be possible for them to connect to a store (say redux) from their pages? </p>
  
  <p>Thanks,
  Santhosh</p>