Skip to content

Adding useEffect in HMR causes "Expected static flag was missing" #25719

Open
@sebmarkbage

Description

@sebmarkbage
Warning: Internal React error: Expected static flag was missing. Please notify the React team.

https://twitter.com/dan_abramov/status/1593609862830759936

This was also repro:ed in Next.js by @sokra:

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions