title: Stateful and Functional stateless components
body: <p>How to convert Stateless functional components to stateful component in order to use lifecycle methods and passing props to it like Stateless Component.</p>
  
  <pre><code>( export default JobCard = (props) =&gt; { 
     ............
   }
  )
  </code></pre>
  
  <p>I need to convert this to stateful component in order to use life-cycle method and pass props to the return function like how props is passed here. Thank you in advance.</p>