Long promises prevents proper updates #845
Answered
by
dai-shi
alexshelkov
asked this question in
Bug report
-
SummaryIf there is long promise in the proxy it "prevents" handle updates properly. I created very minimal and simple example which illustrates what I meant. Because it is easier to just understand on example. Link to reproduction |
Beta Was this translation helpful? Give feedback.
Answered by
dai-shi
Jan 22, 2024
Replies: 1 comment
-
Yeah, it's how Suspense works. Unfortunately, I don't think we can fix it. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
alexshelkov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah, it's how Suspense works. Unfortunately, I don't think we can fix it.
In v2 #810, we no longer handle promises in the library anyway, which allows you to have Suspense boundary between
useSnapshot
anduse
to probably solve such use case.