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 秃了头也不退休 阅读(208) 评论(0) 推荐(0)
posted @ 2020-04-28 14:44 秃了头也不退休 阅读(208) 评论(0) 推荐(0)
posted @ 2020-04-28 14:09 秃了头也不退休 阅读(233) 评论(0) 推荐(0)
posted @ 2020-04-28 11:34 秃了头也不退休 阅读(401) 评论(0) 推荐(0)