自己写的是: ReactDom.render(hello, document.getElementById(‘app’));
而实际上应该是 ReactDOM.render(hello, document.getElementById(‘app’));
注意单词大小写不要拼错了
nevertheless 2021-06-11 15:01 原文
自己写的是: ReactDom.render(hello, document.getElementById(‘app’));
而实际上应该是 ReactDOM.render(hello, document.getElementById(‘app’));
注意单词大小写不要拼错了