Skip to content

Commit 7503a4e

Browse files
jCodeLifewxsms
andauthored
review: src/guide/extras/reactivity-in-depth.md (vuejs#141)
* fix: deleted duplicate words, 上上 -> 上 * fix: revise the paragraph to better understand * fix: correct punctuation * Update src/guide/extras/web-components.md * fix: fixed the translation of effect * fix: Keep the translation consistent * Update src/guide/extras/reactivity-in-depth.md Co-authored-by: wxsm <[email protected]> * Update src/guide/extras/reactivity-in-depth.md Co-authored-by: wxsm <[email protected]> Co-authored-by: wxsm <[email protected]>
1 parent 5e7cb54 commit 7503a4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/guide/extras/reactivity-in-depth.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ function update() {
4545

4646
然后,我们需要定义几个术语:
4747

48-
- 这个 `update()` 函数会产生一个**副作用**,或者就简称为**影响**,因为它会更改程序里的状态。
48+
- 这个 `update()` 函数会产生一个**副作用**,或者就简称为**作用**,因为它会更改程序里的状态。
4949

50-
- `A0``A1` 被视为这个影响的**依赖**因为它们的值被用来执行这个影响。因此这次影响也可以说是一个它依赖的**订阅者**
50+
- `A0``A1` 被视为这个作用的**依赖**因为它们的值被用来执行这个作用。因此这次作用也可以说是一个它依赖的**订阅者**
5151

52-
我们需要一个魔法函数,能够在 `A0``A1` (这两个**依赖**) 变化时调用 `update()` (产生**影响**)。
52+
我们需要一个魔法函数,能够在 `A0``A1` (这两个**依赖**) 变化时调用 `update()` (产生**作用**)。
5353

5454
```js
5555
whenDepsChange(update)

0 commit comments

Comments
 (0)