layout: post title: Redux subtitle: Redux学习 date: 2021-7-27 author: Lan header-img: img/blog-bak.jpg catalog: true tags: - Redux —
Redux
- 简单流程
组件找到action,action找到store,store找到reducer. reducer返回新的state给store,store再给组件。
layout: post title: Redux subtitle: Redux学习 date: 2021-7-27 author: Lan header-img: img/blog-bak.jpg catalog: true tags: - Redux —
组件找到action,action找到store,store找到reducer. reducer返回新的state给store,store再给组件。