Skip to content

Commit

Permalink
docs: better translation
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjue666 authored and Justineo committed Apr 2, 2024
1 parent 60916c0 commit 0536d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/guide/extras/reactivity-in-depth.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function update() {

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

- `A0``A1` 被视为这个作用的**依赖** (dependency),因为它们的值被用来执行这个作用。因此这次作用也可以说是一个它依赖的**订阅者** (subscriber)。
- `A0``A1` 被视为这个作用的**依赖** (dependency),因为它们的值被用来执行这个作用。因此这次作用也可以被称作它的依赖的一个**订阅者** (subscriber)。

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

Expand Down

0 comments on commit 0536d77

Please sign in to comment.