-
Notifications
You must be signed in to change notification settings - Fork 226
feat(translate): Added example of using $nextTick with async await #1270
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
Conversation
|
@re-fort 見ていただけると〜 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
コメントしました!
src/v2/guide/reactivity.md
Outdated
| ``` | ||
|
|
||
| Since `$nextTick()` returns a promise, you can achieve the same as the above using the new [ES7 async/await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function) syntax: | ||
| `$nextTick()` は Promise を返却するため、新しい [ES7 async/await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function) 構文を用いて、同じことができます: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
リンクをこちらに差し替えいただきたいです:pray:
https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Statements/async_function
これlintの内容にいれたいんですが、日本語docが必ずあるわけじゃないからlint errorにはできないのが悩ましいんですよねー
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@re-fort ありがとうございます!差し替えます!
|
@re-fort こちら対応しました! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTMです:sparkles:
resolve #1268
#1266 にて追加された変更を翻訳しました。