摘要: react:面向组件编程 面向对象 >面向模块 >面向组件 实现效果: <MyComponent> <h2>工厂函数组件(简单组件)</h2> </MyComponent> <MyComponent2> <h2>ES6类组件(复杂组件)</h2> </MyComponent2> 代码: <!DOCT 阅读全文
posted @ 2019-12-25 15:44 世界上最棒的鹅 阅读(423) 评论(0) 推荐(0) 编辑