How to convert classes into simple arrow functions

后端 未结 0 1048
难免孤独
难免孤独 2020-12-11 05:39

hey guys I am trying to convert the class into a simple arrow function:


class App extends React.Component {
   constructor(){
     super();
     this.state={         


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