Skip to content

docs: correct explanation about nextTick in testing-async-components.md #1132

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
Feb 7, 2019

Conversation

HusamElbashir
Copy link
Contributor

$nextTick always uses microtasks now in Vue 2.6 just like it did pre v2.5.0. In v2.5 macrotasks are used to handle some edge cases.

References:

  1. 2.6 Internal Change: Reverting nextTick to Always Use Microtask

  2. fix: always use microtasks for nextTick

Copy link
Member

@eddyerburgh eddyerburgh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

@eddyerburgh eddyerburgh merged commit 36adbf3 into vuejs:dev Feb 7, 2019
@HusamElbashir HusamElbashir deleted the fix/testing-async-components branch February 7, 2019 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants