The Daily Shaarli

All links of one day in a single page.

June 7, 2018

Higher-Order Components - React

A higher-order component (HOC) is an advanced technique in React for reusing component logic. HOCs are not part of the React API, per se. They are a pattern that emerges from React’s compositional nature.