class - function ES6類的方法的兩種定義方式及調用方式

方式 import * as React from 'react'; const { PureComponent, Fragment } = React; class Test extends PureComponent { render() { return ( <Fragment> <button>click</button> <button
相關文章
相關標籤/搜索