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.