摘要: Redux state 只读对象,不能直接修改 Reducer 对state进行修改 action 描述用户行为,用于沟通组件和redux 流程 首先组件component中事件触发行为action,分发到reducer中,reducer根据传来的action对state进行处理,state在传递到 阅读全文
posted @ 2019-05-29 17:00 沉默的末1993 阅读(104) 评论(0) 推荐(0) 编辑