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

this.setState是同步还是异步的? #1

Open
BetaSu opened this issue Jan 4, 2021 · 0 comments
Open

this.setState是同步还是异步的? #1

BetaSu opened this issue Jan 4, 2021 · 0 comments

Comments

@BetaSu
Copy link
Owner

BetaSu commented Jan 4, 2021

简介

从调用this.setState到视图更新,这个过程是同步还是异步的?

视频在此🙋‍♂️

资料

在线demo

Concurrent模式介绍

batchedUpdates源码

executionContext === NoContext源码

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