React has really turned into something else. Back in 2013, React was making waves but it was just the view layer. This was back when we were trying to replace jQuery with BackboneJS or Knockout JS or whatever. For whatever reason, MVC doesn't work in the browser so prior art goes out of the window.
The advice to take a react hook and turn it back into an HOC is bizarre. This is not a best practice.
Any post proclaiming a best practice is suspect.