react hoc

A higher-order component (HoC) is a function that takes 
a component and returns a new component.

const EnhancedComponent = higherOrderComponent(WrappedComponent);
KostasX