title: When do we need to use Class component in ReactJS?
body: <p>I came to realised that hooks on functional components could do what class component could do without the class component lifecycle.</p>
  
  <p>Is there any example where we need to and have to use a class component instead of a functional component? </p>
  
  <p>Thanks</p>