Higher Order Components (HOC) in React
Jan 27, 2024 · 4 min read · In the JSX world, an HOC is basically this: a component that takes another component as an argument and returns a new component that is the result of the composition of the two. HOC’s are great for shared behavior across components that we’d rather n...
Join discussion











