What is a Higher Order Component (HOC)?
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.
BY Best Interview Question ON 22 Jan 2021