-
Notifications
You must be signed in to change notification settings - Fork 669
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
Document about nextTick
difference between English and Chinese
#1451
Comments
You need to use If you want to make a PR that would be much appreciated. The English docs are the "source of truth". |
Thank you your reply. |
Yep. We need a way to track changes and either notify a dedicated translator or just flag in the docs something like "this translation could be out of date". Not sure of any tools that do this, though. |
lmiller, I updated the Chinese translation of the nextTick part of the document, and added some new sections in common-tips.md. I have no better idea about the multilingual translation. However, I will update Chinese version in my spare time later. |
Thanks, just need you to run the |
I've re-committed after format :) |
nice job, thanks a lot! |
Version
1.0.0-beta.31
Reproduction link
https://jsbin.com/pokuluhado/edit?html,js
Steps to reproduce
In Chinese version, it says there is no need to use
Vue.nextTick()
because Vue Test Utils has applied it. But in English Version, it says We need to useVue.nextTick()
to wait until Vue has performed the DOM update after we set a reactive property.My question is, which one is correct? After my testing, I found that if I changed the data of component without using
Vue.nextTick()
,wrapper.html()
is still the original value.What is expected?
As Chinese Version, there is no need to use
Vue.nextTick()
.What is actually happening?
Test failed.
The text was updated successfully, but these errors were encountered: