Skip to content

Commit 3da9945

Browse files
authored
Update concepts.md
1 parent a4c1bf0 commit 3da9945

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

v1/zh-cn/concepts.md

+1-8
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,7 @@
66

77
数据的改变发生通常是通过用户交互行为或者浏览器行为(如路由跳转等)触发的,当此类行为会改变数据的时候可以通过 `dispatch` 发起一个 action,如果是同步行为会直接通过 `Reducers` 改变 `State` ,如果是异步行为(副作用)会先触发 `Effects` 然后流向 `Reducers` 最终改变 `State`,所以在 dva 中,数据流向非常清晰简明,并且思路基本跟开源社区保持一致(也是来自于开源社区)。
88

9-
```txt
10-
┌───▶ Views ───▶ dispatch(Actions) ──┐─▶ Effects
11-
│ │ │
12-
│ │ ▼
13-
│ └─▶ Reducers
14-
│ │
15-
└───────────── States ◀─────────────────────┘
16-
```
9+
<img src="https://zos.alipayobjects.com/rmsportal/PPrerEAKbIoDZYr.png" width="807" />
1710

1811
## Models
1912

0 commit comments

Comments
 (0)