`npm init react-app` leads to `'React' is not defined no-undef` when changing function component to class component

前端 未结 0 1260
滥情空心
滥情空心 2020-12-25 13:21

I used npm init react-app appname which creates, among other files, App.js. In that file is a function component:

function App() {
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题