React - Higher Order Component (HOC)
Higher Order Component is a function that takes a component and returns a new component.
It's not really a component, more a design pattern known as decorator.
For composition, see React - Composite Component (Layout) / Container Component
const EnhancedComponent = higherOrderComponent(WrappedComponent);
- Relay’s createFragmentContainer