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.