摘要: 1.hook没有this 2.useState const [count, setCount] = useState(0); 一个初始值 一个是更新值 3.useEffect 方法 在类组件中想当于 componentDidMount 和componentDidUpdate以及componentWi 阅读全文
posted @ 2020-07-28 09:56 jack杰克 阅读(2622) 评论(0) 推荐(0)