Skip to content

fix statement #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/global/nextTick.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ const run = (effect: ReactiveEffect) => {

### 为什么要nextTick

一个例子让大家明白,如果没有 `nextTick` 更新机制,那么 `num` 每次更新值都会触发视图更新,有了`nextTick`机制,只需要更新一次,所有....为什么要相信大家心里已经有答案了
一个例子让大家明白,如果没有 `nextTick` 更新机制,那么 `num` 每次更新值都会触发视图更新,有了`nextTick`机制,只需要更新一次,所以为什么有`nextTick`存在,相信大家心里已经有答案了。

```js
{{num}}
Expand Down