I have often faced this question in interviews, why can\'t we use extend a class or make a utiliity class rather than making a higher order component (HOC). Can anyone please ex