Hi Paul Klimashkin ! Thanks for reading!
I haven’t tested those functions but at a high level, at least, they look like they could work. But they are not strictly HOC since they do not return a new component but the same. I would call them ComponentsMonkeyPatchers. You might want to explore this pattern more and post conclusions somewhere because I think it might be something interesting.
One thing I can think of is to use the pattern to add methods to a Component, and that would make this pattern something like a Mixin. Whether it’s useful, maintainable or problematic is beyond me, and that’s why it could benefit from exploration.