摘要: 高阶组件(HOC) vs 包裹组件(Wrapped Component) 先给用例 function HOC(Component) { return class extends React.Component { name: string = ""; render() { return ( <> < 阅读全文
posted @ 2021-12-27 20:37 kongshu 阅读(96) 评论(0) 推荐(0) 编辑