overflow icon indicating copy to clipboard operation
overflow copied to clipboard

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

Open TaurusWood opened this issue 2 years ago • 0 comments

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?

TaurusWood avatar May 24 '23 07:05 TaurusWood