We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4c1bf0 commit 3da9945Copy full SHA for 3da9945
v1/zh-cn/concepts.md
@@ -6,14 +6,7 @@
6
7
数据的改变发生通常是通过用户交互行为或者浏览器行为(如路由跳转等)触发的,当此类行为会改变数据的时候可以通过 `dispatch` 发起一个 action,如果是同步行为会直接通过 `Reducers` 改变 `State` ,如果是异步行为(副作用)会先触发 `Effects` 然后流向 `Reducers` 最终改变 `State`,所以在 dva 中,数据流向非常清晰简明,并且思路基本跟开源社区保持一致(也是来自于开源社区)。
8
9
-```txt
10
-┌───▶ Views ───▶ dispatch(Actions) ──┐─▶ Effects
11
-│ │ │
12
-│ │ ▼
13
-│ └─▶ Reducers
14
-│ │
15
-└───────────── States ◀─────────────────────┘
16
-```
+<img src="https://zos.alipayobjects.com/rmsportal/PPrerEAKbIoDZYr.png" width="807" />
17
18
## Models
19
0 commit comments