const Hello = (props) => { return ( <div> <h1>Hello! {props.name}</h1> </div> ) }. 总结:. 函数组件一定是无状态组件,展示型组件一般是无 ...
確定! 回上一頁