← React Intermediate Questions - Set 9 Q88

What is a “higher-order component” (HOC) in React?

React Intermediate Questions - Set 9

Example

const Enhanced = withAuth(Dashboard);

What to notice

← Back to the question list