redux
摘要:
分为发消息,dispatch 订阅和回调,subscribe 消息中心store, 准则 state以单一对象存在store中, state不能再store中修改,用组件的setState,个能返回一些信息 用reducer帮助 一个处理逻辑,store像一个容器 有异步问题,比如请求接口还没有回来 阅读全文
posted @ 2022-04-28 13:57 Kooing 阅读(6) 评论(0) 推荐(0) 编辑
posted @ 2022-04-28 13:57 Kooing 阅读(6) 评论(0) 推荐(0) 编辑
posted @ 2022-04-28 09:15 Kooing 阅读(19) 评论(0) 推荐(0) 编辑