title: HOC - Functional Component
body: <p>I have already created a HOC in my react app following <a href="https://reactjs.org/docs/higher-order-components.html" rel="noreferrer">this</a>, and its working fine. However i was wondering if there is a way to create a HOC as functional component(With or without state)??? since the given example is a class based component.</p>
  
  <p>Tried to find the same over web but couldn't get anything. Not sure if thats even possible?? Or right thing to do ever??</p>
  
  <p>Any leads will be appreciated :)</p>