Use this tag when you have questions regarding the HOC techinque, commonly used with React to enrich existing components with additional behaviour.
HOC, abbreviation for higher order component is a technique commonly used in the ReactJS library, usually to enrich another component's behaviour, for example, by passing to it additional data or functions via props. Usually this enrichment happens by using a helper function (HOC function) which takes as one of its parameters an existing component's type and returns the new, enriched component. A very popular example of HOC usage is the connect
function in react-redux library to provide a component with pieces of redux state.