ReactDom is not defined

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

猜你喜欢

转载自blog.csdn.net/qq_41160739/article/details/117817699
今日推荐