Skip to content

Bug: Potential bug in “official” useInterval example #21912

@gmoniava

Description

@gmoniava

Maybe this is not a bug of react, but this is related to a blog post by react team member; many people have probably read or used that post.
The bug is explained here: https://stackoverflow.com/questions/68407187/potential-bug-in-official-useinterval-example
I think feedback from react team would be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions