Skip to content

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

Open
@TaurusWood

Description

@TaurusWood

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions