📜  react hoc - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:14.098000             🧑  作者: Mango

代码示例1
A higher-order component (HoC) is a function that takes 
a component and returns a new component.

const EnhancedComponent = higherOrderComponent(WrappedComponent);