摘要: [toc] React渲染 JSX如何生成element 他会经过babel编译成React.createElement的表达式 是用来组成虚拟DOM树 createElement的三个参数 1. type 标签 2. attributes = 属性标签,没有的话,可以为null 3. childr 阅读全文
posted @ 2020-02-24 22:41 二十四桥夜月明 阅读(84) 评论(0) 推荐(0) 编辑