A higher-order component or HOC in React is basically an advanced technique used for reusing component logic. HOCs are not a part of the React API. They are a pattern emerging from the React's compositional nature.

Higher Order Component in React
A higher-order component is any function that takes an element and returns it with a new item.
BY Best Interview Question ON 22 Jan 2021