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

有一个问题 #7

Open
Wbqqqq opened this issue Jun 22, 2021 · 0 comments
Open

有一个问题 #7

Wbqqqq opened this issue Jun 22, 2021 · 0 comments

Comments

@Wbqqqq
Copy link

Wbqqqq commented Jun 22, 2021

通常,我们把消息队列中的任务成为宏任务,每个宏任务中都包含一个微任务队列,在执行宏任务的过程中,假如 DOM 有变化,则该变化会被添加到该宏任务的微任务队列中去,这样子效率问题得以解决

确定是这样的吗?每个宏任务中都包含一个微任务队列?

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

1 participant