react-hook
摘要:
1.memo 用于优化方法 const Foo=memo((props)=>{ return <div>{props.person.age}</div> }) 2.useState const [count,setCount]=useState(()=>{ return PaymentRespons 阅读全文
posted @ 2020-04-28 14:44 秃了头也不退休 阅读(206) 评论(0) 推荐(0) 编辑