Skip to content

Bug: Layout effects don't re-fire in 18 on Suspense re-showing #21676

Closed
@gaearon

Description

@gaearon

Intended behavior: reactwg/react-18#31

Sandbox: https://codesandbox.io/s/react-18-layouteffect-semantics-forked-m02w5

Expected: when suspended content is hidden and then shown, we get layout cleanup followed by layout setup.
Actual: only layout cleanup happens.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions