Skip to content

Commit d31f10e

Browse files
committed
pick up from en getting-started.md
NOTE: pick up from eef3792
1 parent a6df1f4 commit d31f10e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/ja/guides/getting-started.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ it('button click should increment the count', () => {
106106

107107
Vue バッチは DOM 更新を保留し、非同期的に適用して、複数のデータのミューテーションに起因する不要な再描画を防ぎます。実際には、Vue が何らかの状態変更をトリガーした後にVue が実際の DOM 更新を実行するまで待つために、`Vue.nextTick` を使用しなければならないからです。
108108

109-
使い方を簡単にするため、 `vue-test-utils` はすべての更新を同期的に適用するので、テストで `Vue.nextTick` を使う必要はありません。
109+
使い方を簡単にするため、 `vue-test-utils` はすべての更新を同期的に適用するので、テストで DOM を更新するために `Vue.nextTick` を使う必要はありません。
110+
111+
*Note: `nextTick` is still necessary when you need to explictly advance the event loop, for operations such as asynchronous callbacks or promise resolution.*
110112

111113
## 次は何をするのか
112114

0 commit comments

Comments
 (0)