A higher-order component (HOC) is a function that takes a component and returns a new component. Basically, it’s a pattern that is derived from React’s compositional nature. Higher-Order Components are not part of the React API. They are the pattern that emerges from React’s compositional nature.