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

I want to know that useEffectState and useBatcher are used to simulate batch updates, for versions before react18 #35

Open
TaurusWood opened this issue May 24, 2023 · 0 comments

Comments

@TaurusWood
Copy link

Hello, I am reading the source code. I found that channelUpdate and unstable_batchedUpdates are used in the code. So I guess it is to be compatible with the previous version of react18, and manually implemented a method of updating the status in batches, is this the case?

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