As another child comment said this is how Redux with HoC worked a few years ago. It was very common. Imo working with that paradigm was miserable. You would have a mess of withXXXX type of connections. It was like using decorators or mixins with 0 ergonomics. Hooks are about a million times better.