摘要: redux核心概念: store,state,action,reducer 首先通过reducer新建store,通过store.getState()获取状态 需要状态变更,store.dispatch(action) 来修改 reducer函数接受state和action,返回新的state,可以 阅读全文
posted @ 2019-04-01 17:53 慕斯undefined 阅读(110) 评论(0) 推荐(0) 编辑