title: React - Are class components ever used?
body: <p>I'm going through some courses that were made before react hooks were a thing, now I'm wondering if there is any reason at all to use class-based components over functional components now that hooks exist?</p>
  <p>I can't seem to come up with a reason or scenario where a class-based component would be preferable, but maybe I'm just not aware of certain corner-cases where a class-based component would be the go-to choice.</p>
  <p>Appreciate any feedback regarding this.</p>
  <p>Thanks in advance!</p>