React class & function component 的區別

React class class App extends React.Component { constructor(props) { super(props); this.state = { } } render() { return ( <div className="App"></div> ) } } function c
相關文章
相關標籤/搜索