Skip to content

Rollback of Event Handling Mechanism in overlay-kit #148

@jungpaeng

Description

@jungpaeng

useSyncExternalStore resolves tearing issues, but it doesn’t work well with suspense.
More details can be found in the following issue: facebook/react#26382.

Due to this incompatibility, when overlay components include logic that triggers fallbacks—such as useSuspenseQuery—errors like
"A component suspended while responding to synchronous input." may occur.

We confirmed that this issue does not arise when using the event-based approach.
Therefore, we are removing useSyncExternalStore from overlay-kit.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions