摘要: 1.React.createElement(arg1, arg2, arg3) 前三个参数分别为类型,props,children 参考地址: Introducing JSX – React (reactjs.org) 2.继承React.Component的Class必须有render方法,每次调 阅读全文
posted @ 2021-06-15 16:54 留下成长的足迹 阅读(31) 评论(0) 推荐(0) 编辑