摘要: 基础知识: 1.ReactDOM.render来渲染元素,参数一般有三个:模版的渲染内容(HTML形式),需要插入的DOM节点,渲染... 阅读全文
posted @ 2021-06-11 18:20 neverthelessing 阅读(80) 评论(0) 推荐(0)
摘要: 自己写的是: ReactDom.render(hello, document.getElementById(‘app’)); 而实际... 阅读全文
posted @ 2021-06-11 15:01 neverthelessing 阅读(1101) 评论(1) 推荐(3)