Fairwinds Interview Question

react hooks, class comps, hoisting