Fairwinds interview question

react hooks, class comps, hoisting