Skip to content
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

你好,这里Vue- NextTick 原理分析一节中的“所以在新版本中,会默认使用 microtasks,但在特殊情况下会使用 macrotasks,比如 v-on。”是不是有点问题呢 #106

Closed
Huanqiang opened this issue Aug 10, 2018 · 2 comments

Comments

@Huanqiang
Copy link

image

@timeTravelCYN
Copy link
Member

@Huanqiang 请问您觉得问题是什么呢? next-tick,根据源码来看确实是默认使用 microtasks,特殊情况使用 macrotasks

@KieSun KieSun closed this as completed Aug 11, 2018
@Huanqiang
Copy link
Author

抱歉,今天才看到这个回复,确实是我的不仔细,我把特殊情况的 macrotasks 看成了 microtasks。实在抱歉,打扰了...

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

No branches or pull requests

3 participants