hook(v16.7测试)?

在无状态组件(如函数式组件)中也能操作state以及其他react特性, 通过useState

posted @ 2020-12-06 14:34  咔啡  阅读(84)  评论(0)    收藏  举报